summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeFunctionscan.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-10-27 20:14:39 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-10-27 20:14:39 +0000
commit972dd130d3b113adf81592ccd7eaf2fdf8de904c (patch)
tree30d9d52bbe2ccaa5d7051f7bf8ff90e91cbc1153 /src/backend/executor/nodeFunctionscan.c
parente0066c6b45bebe26e99b89ddb3769ea73206165e (diff)
Fix AfterTriggerSaveEvent to use a test and elog, not just Assert, to check
that it's called within an AfterTriggerBeginQuery/AfterTriggerEndQuery pair. The RI cascade triggers suppress that overhead on the assumption that they are always run non-deferred, so it's possible to violate the condition if someone mistakenly changes pg_trigger to mark such a trigger deferred. We don't really care about supporting that, but throwing an error instead of crashing seems desirable. Per report from Marcelo Costa.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions