• Tom Lane's avatar
    Some mop-up work for savepoints (nested transactions). Store a small · efcaf1e8
    Tom Lane authored
    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.
    efcaf1e8
reference.sgml 4.36 KB