pgsql: Improve error messages for CREATE OR REPLACE PROCEDURE

2018-08-18 Thread Peter Eisentraut
Improve error messages for CREATE OR REPLACE PROCEDURE Change the hint to recommend DROP PROCEDURE instead of FUNCTION. Also make the error message when changing the return type more specific to the case of procedures. Reported-by: Jeremy Evans Reviewed-by: Tom Lane Branch -- REL_11_STABL

pgsql: Improve error messages for CREATE OR REPLACE PROCEDURE

2018-08-18 Thread Peter Eisentraut
Improve error messages for CREATE OR REPLACE PROCEDURE Change the hint to recommend DROP PROCEDURE instead of FUNCTION. Also make the error message when changing the return type more specific to the case of procedures. Reported-by: Jeremy Evans Reviewed-by: Tom Lane Branch -- master Deta

pgsql: Doc: remove obsolete advice about manually inserting snprintf in

2018-08-18 Thread Tom Lane
Doc: remove obsolete advice about manually inserting snprintf into build. This para is obsolete, first because nobody is using Solaris 7 anymore, and second because if someone was, configure should catch the snprintf buffer overrun problem automatically (since commit 9bed827b1), and third because