OSDN Git Service

Replace nested-BEGIN syntax for subtransactions with spec-compliant
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Jul 2004 05:11:48 +0000 (05:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Jul 2004 05:11:48 +0000 (05:11 +0000)
commitcc813fc2b8d9293bbd4d0e0d6a6f3b9cf02fe32f
tree9f7e6635c94bb61cb9d6340c3647c429dca9504b
parentb1ee93884d528672fbce446a38659954a86219e1
Replace nested-BEGIN syntax for subtransactions with spec-compliant
SAVEPOINT/RELEASE/ROLLBACK-TO syntax.  (Alvaro)
Cause COMMIT of a failed transaction to report ROLLBACK instead of
COMMIT in its command tag.  (Tom)
Fix a few loose ends in the nested-transactions stuff.
13 files changed:
src/backend/access/transam/xact.c
src/backend/executor/spi.c
src/backend/parser/gram.y
src/backend/parser/keywords.c
src/backend/storage/lmgr/lmgr.c
src/backend/tcop/postgres.c
src/backend/tcop/utility.c
src/bin/psql/tab-complete.c
src/include/access/xact.h
src/include/nodes/parsenodes.h
src/include/utils/errcodes.h
src/test/regress/expected/transactions.out
src/test/regress/sql/transactions.sql