diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-08-18 19:22:38 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-08-18 19:22:38 -0400 |
commit | 928d0226e5420e5883bfc693cf8c6dce60aad368 (patch) | |
tree | 4313f2181c8fd9e8545b759652b71faecb34a6d1 /src/backend/access/gist/gistproc.c | |
parent | d509560d1fbfeac79abb6593cc9c0df2be2792b6 (diff) | |
download | postgresql-928d0226e5420e5883bfc693cf8c6dce60aad368.tar.gz postgresql-928d0226e5420e5883bfc693cf8c6dce60aad368.zip |
Fix a few bogus statement type names in plpgsql error messages.
plpgsql's error location context messages ("PL/pgSQL function fn-name line
line-no at stmt-type") would misreport a CONTINUE statement as being an
EXIT, and misreport a MOVE statement as being a FETCH. These are clear
bugs that have been there a long time, so back-patch to all supported
branches.
In addition, in 9.5 and HEAD, change the description of EXECUTE from
"EXECUTE statement" to just plain EXECUTE; there seems no good reason why
this statement type should be described differently from others that have
a well-defined head keyword. And distinguish GET STACKED DIAGNOSTICS from
plain GET DIAGNOSTICS. These are a bit more of a judgment call, and also
affect existing regression-test outputs, so I did not back-patch into
stable branches.
Pavel Stehule and Tom Lane
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions