aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-02-18 03:06:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-02-18 03:06:53 +0000
commit85a646aee39b97b68bd70956db95afd11cde93a8 (patch)
tree2e54bc5066fa727b1c41ff2953e27d4652b25b45 /src/backend/utils/adt/ruleutils.c
parentef7604fafa6538e6e6f3884cf7c8f59da47e3535 (diff)
downloadpostgresql-85a646aee39b97b68bd70956db95afd11cde93a8.tar.gz
postgresql-85a646aee39b97b68bd70956db95afd11cde93a8.zip
Force READY portals into FAILED state when a transaction or subtransaction
is aborted, if they were created within the failed xact. This prevents ExecutorEnd from being run on them, which is a good idea because they may contain references to tables or other objects that no longer exist. In particular this is hazardous when auto_explain is active, but it's really rather surprising that nobody has seen an issue with this before. I'm back-patching this to 8.4, since that's the first version that contains auto_explain or an ExecutorEnd hook, but I wonder whether we shouldn't back-patch further.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions