diff options
author | Bruce Momjian <bruce@momjian.us> | 2002-08-04 04:31:44 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2002-08-04 04:31:44 +0000 |
commit | 19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6 (patch) | |
tree | 0e46bff54197af8970529fc54e8766cbcda23567 /src/include | |
parent | fecc04f95a136bbfbded44c476d597eed6ac6258 (diff) | |
download | postgresql-19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6.tar.gz postgresql-19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6.zip |
The attached patch implements START TRANSACTION, per SQL99. The
functionality of the command is basically identical to that of
BEGIN; it just accepts a few extra options (only one of which
PostgreSQL currently implements), and is standards-compliant.
The patch includes a simple regression test and documentation.
[ Regression tests removed, per Peter.]
Neil Conway
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/nodes/parsenodes.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 467208c95cd..07e985b377b 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parsenodes.h,v 1.196 2002/07/30 16:55:45 momjian Exp $ + * $Id: parsenodes.h,v 1.197 2002/08/04 04:31:44 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1387,13 +1387,14 @@ typedef struct UnlistenStmt } UnlistenStmt; /* ---------------------- - * {Begin|Abort|End} Transaction Statement + * {Begin|Commit|Rollback} Transaction Statement * ---------------------- */ typedef struct TransactionStmt { NodeTag type; - int command; /* BEGIN|END|ABORT */ + int command; /* BEGIN_TRANS|START|COMMIT|ROLLBACK */ + List *options; } TransactionStmt; /* ---------------------- |