Fix a number of places where brittle data structures or overly strong

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 083258e535c58c97e52ade7b0b68b5ed1879a678
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-09-06T23:33:48Z
Releases: 8.0.0
Fix a number of places where brittle data structures or overly strong
Asserts would lead to a server core dump if an error occurred while
trying to abort a failed subtransaction (thereby leading to re-execution
of whatever parts of AbortSubTransaction had already run).  This of course
does not prevent such an error from creating an infinite loop, but at
least we don't make the situation worse.  Responds to an open item on
the subtransactions to-do list.

Files

PathChange+/−
src/backend/commands/async.c modified +19 −3
src/backend/commands/trigger.c modified +34 −30
src/backend/storage/ipc/sinval.c modified +12 −5
src/backend/utils/cache/inval.c modified +36 −15