diff options
| author | Tom Lane | 2002-08-30 22:18:07 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-08-30 22:18:07 +0000 |
| commit | 26993b2918551552b74b559ab410228dc0670cd5 (patch) | |
| tree | fec5ed9634d32bd3720684da549ee2b9ec59916a /src/include | |
| parent | 549928d99bab650f684fd69dd5ef95553438a957 (diff) | |
AUTOCOMMIT mode is now an available backend GUC variable; setting it
to false provides more SQL-spec-compliant behavior than we had before.
I am not sure that setting it false is actually a good idea yet; there
is a lot of client-side code that will probably be broken by turning
autocommit off. But it's a start.
Loosely based on a patch by David Van Wie.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/xact.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index 5448b68f72f..b74b9d4cdca 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.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: xact.h,v 1.44 2002/06/20 20:29:43 momjian Exp $ + * $Id: xact.h,v 1.45 2002/08/30 22:18:07 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -105,8 +105,8 @@ extern AbsoluteTime GetCurrentTransactionStartTimeUsec(int *usec); extern bool TransactionIdIsCurrentTransactionId(TransactionId xid); extern bool CommandIdIsCurrentCommandId(CommandId cid); extern void CommandCounterIncrement(void); -extern void StartTransactionCommand(void); -extern void CommitTransactionCommand(void); +extern void StartTransactionCommand(bool preventChain); +extern void CommitTransactionCommand(bool forceCommit); extern void AbortCurrentTransaction(void); extern void BeginTransactionBlock(void); extern void EndTransactionBlock(void); |
