aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-01-24 21:49:48 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-01-24 21:49:48 +0000
commita82c3f463490fe3edfee50ff713956e82f87b2d7 (patch)
tree56e0d934ad7b7647b0a780abe62540a53fe8e853 /src/backend/regex
parent84cce313720b75642a098ceacdb2dc23fc35fcc5 (diff)
downloadpostgresql-a82c3f463490fe3edfee50ff713956e82f87b2d7.tar.gz
postgresql-a82c3f463490fe3edfee50ff713956e82f87b2d7.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')
0 files changed, 0 insertions, 0 deletions