aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/sql-binary.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2010-01-24 21:49:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2010-01-24 21:49:17 +0000
commit875353b99f64550c2fee1a3a8e3491e69decd9c7 (patch)
tree4d89f17c837687a71c56791d9be93fab69630bec /src/interfaces/ecpg/test/expected/sql-binary.c
parent74f4be6c04933aafb9a7939c6c3f841052b49608 (diff)
downloadpostgresql-875353b99f64550c2fee1a3a8e3491e69decd9c7.tar.gz
postgresql-875353b99f64550c2fee1a3a8e3491e69decd9c7.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/interfaces/ecpg/test/expected/sql-binary.c')
0 files changed, 0 insertions, 0 deletions