postgresql/src/backend/commands
Tom Lane 875353b99f 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.
2010-01-24 21:49:17 +00:00
..
aggregatecmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
alter.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
analyze.c Replace ALTER TABLE ... SET STATISTICS DISTINCT with a more general mechanism. 2010-01-22 16:40:19 +00:00
async.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
cluster.c Write a WAL record whenever we perform an operation without WAL-logging 2010-01-20 19:43:40 +00:00
comment.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
constraint.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
conversioncmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
copy.c Introduce Streaming Replication. 2010-01-15 09:19:10 +00:00
dbcommands.c Lock database while running drop database in Hot Standby to protect 2010-01-16 14:16:31 +00:00
define.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
discard.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
explain.c Do parse analysis of an EXPLAIN's contained statement during the normal 2010-01-15 22:36:35 +00:00
foreigncmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
functioncmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
indexcmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
lockcmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
Makefile Support deferrable uniqueness constraints. 2009-07-29 20:56:21 +00:00
opclasscmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
operatorcmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
portalcmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
prepare.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
proclang.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
schemacmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
sequence.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
tablecmds.c Replace ALTER TABLE ... SET STATISTICS DISTINCT with a more general mechanism. 2010-01-22 16:40:19 +00:00
tablespace.c First part of refactoring of code for ResolveRecoveryConflict. Purposes 2010-01-14 11:08:02 +00:00
trigger.c Fix assorted core dumps and Assert failures that could occur during 2010-01-24 21:49:17 +00:00
tsearchcmds.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
typecmds.c Before attempting to create a composite type, check whether a type of that 2010-01-20 05:47:09 +00:00
user.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
vacuum.c Support rewritten-based full vacuum as VACUUM FULL. Traditional 2010-01-06 05:31:14 +00:00
vacuumlazy.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
variable.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
view.c Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00