summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorPeter Eisentraut2018-07-07 09:17:04 +0000
committerPeter Eisentraut2018-07-07 09:17:04 +0000
commit0903bbdad24a8f51b18a6a54a41bbb36ad2ceee4 (patch)
treebc591d2f5eb4c04d3ecba25ac8d21be8515018bd /src/test
parenteb270b00b2d60e751545d4b808642395c901b668 (diff)
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.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/create_procedure.out4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/create_procedure.out b/src/test/regress/expected/create_procedure.out
index 0acea7bd8c7..90e8f3c5ff0 100644
--- a/src/test/regress/expected/create_procedure.out
+++ b/src/test/regress/expected/create_procedure.out
@@ -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();