aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-01-24 21:49:58 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-01-24 21:49:58 +0000
commitd5d0a67b22bfdbdac254a059b2d2a0a9547fc285 (patch)
tree9ac5f1364860b2ab5ce17e00c896e9d31ba8f59c /src/backend/regex/regexec.c
parent8ecbda7707baf8b75c8fbfbea564270bf27c8bd6 (diff)
downloadpostgresql-d5d0a67b22bfdbdac254a059b2d2a0a9547fc285.tar.gz
postgresql-d5d0a67b22bfdbdac254a059b2d2a0a9547fc285.zip
Fix assorted core dumps and Assert failures that could occur during
AbortTransaction or AbortSubTransaction, when trying to clean up after an error that prevented (sub)transaction start from completing: * access to TopTransactionResourceOwner that might not exist * assert failure in AtEOXact_GUC, if AtStart_GUC not called yet * assert failure or core dump in AfterTriggerEndSubXact, if AfterTriggerBeginSubXact not called yet Per testing by injecting elog(ERROR) at successive steps in StartTransaction and StartSubTransaction. It's not clear whether all of these cases could really occur in the field, but at least one of them is easily exposed by simple stress testing, as per my accidental discovery yesterday.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions