mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03:00
Add separate error message for procedure does not exist
While we probably don't want to split up all error messages into function and procedure variants, this one is a very prominent one, so it's helpful to be more specific here.
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
CALL nonexistent(); -- error
|
||||
ERROR: function nonexistent() does not exist
|
||||
ERROR: procedure nonexistent() does not exist
|
||||
LINE 1: CALL nonexistent();
|
||||
^
|
||||
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
|
||||
HINT: No procedure matches the given name and argument types. You might need to add explicit type casts.
|
||||
CALL random(); -- error
|
||||
ERROR: random() is not a procedure
|
||||
LINE 1: CALL random();
|
||||
|
Reference in New Issue
Block a user