aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/copyfuncs.c
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/backend/nodes/copyfuncs.c
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/backend/nodes/copyfuncs.c')
-rw-r--r--src/backend/nodes/copyfuncs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c
index f3c19635dfe..d7aefc9acfe 100644
--- a/src/backend/nodes/copyfuncs.c
+++ b/src/backend/nodes/copyfuncs.c
@@ -15,7 +15,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.198 2002/07/29 22:14:10 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.199 2002/08/04 04:31:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2226,6 +2226,7 @@ _copyTransactionStmt(TransactionStmt *from)
TransactionStmt *newnode = makeNode(TransactionStmt);
newnode->command = from->command;
+ Node_Copy(from, newnode, options);
return newnode;
}