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 <[email protected]> Reviewed-by: Tom Lane <[email protected]> Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d83423db869900ffa2470826de5f8255d45ff9c6 Modified Files -------------- src/backend/catalog/pg_proc.c | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-)
