diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-09 02:25:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-08-09 02:25:07 +0000 |
commit | 2e35d4f35ca3dd822dbf8dcdcceff822cfb43d78 (patch) | |
tree | 00509e50d92f3b0a20c9957d29b1adfe3e2f8943 /src/backend/utils/adt/array_userfuncs.c | |
parent | 4dfc4578548ea8f1bf69da5424d1e76a0b110a75 (diff) | |
download | postgresql-2e35d4f35ca3dd822dbf8dcdcceff822cfb43d78.tar.gz postgresql-2e35d4f35ca3dd822dbf8dcdcceff822cfb43d78.zip |
Modify the handling of RAISE without parameters so that the error it throws
can be caught in the same places that could catch an ordinary RAISE ERROR
in the same location. The previous coding insisted on throwing the error
from the block containing the active exception handler; which is arguably
more surprising, and definitely unlike Oracle's behavior.
Not back-patching, since this is a pretty obscure corner case. The risk
of breaking somebody's code in a minor version update seems to outweigh
any possible benefit.
Piyush Newe, reviewed by David Fetter
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions