Some mop-up work for savepoints (nested transactions). Store a small

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

Commit: efcaf1e868d8399d932e68b8b248bcbd089b2d6b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-08-01T17:32:22Z
Releases: 8.0.0
Some mop-up work for savepoints (nested transactions).  Store a small
number of active subtransaction XIDs in each backend's PGPROC entry,
and use this to avoid expensive probes into pg_subtrans during
TransactionIdIsInProgress.  Extend EOXactCallback API to allow add-on
modules to get control at subxact start/end.  (This is deliberately
not compatible with the former API, since any uses of that API probably
need manual review anyway.)  Add basic reference documentation for
SAVEPOINT and related commands.  Minor other cleanups to check off some
of the open issues for subtransactions.
Alvaro Herrera and Tom Lane.

Files