aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-08-04 04:31:44 +0000
committerBruce Momjian <bruce@momjian.us>2002-08-04 04:31:44 +0000
commit19e0e35bcd3d0a1e46cb294ab08fbe062d4cf0d6 (patch)
tree0e46bff54197af8970529fc54e8766cbcda23567 /src/include
parentfecc04f95a136bbfbded44c476d597eed6ac6258 (diff)
downloadpostgresql-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.h7
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;
/* ----------------------