CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl@postgresql.org 02/10/21 18:06:20
Modified files:
src/backend/access/transam: xact.c
src/backend/catalog: heap.c index.c
src/backend/commands: dbcommands.c indexcmds.c tablecmds.c
vacuum.c
src/backend/parser: analyze.c
src/include/access: xact.h
Log message:
Fix places that were using IsTransactionBlock() as an (inadequate) check
that they'd get to commit immediately on finishing. There's now a
centralized routine PreventTransactionChain() that implements the
necessary tests.