File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/backend/access/transam Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 77 *
88 *
99 * IDENTIFICATION
10- * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.9 1997/03/25 04:10:21 vadim Exp $
10+ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.10 1997/04/02 03:38:02 vadim Exp $
1111 *
1212 * NOTES
1313 * Transaction aborts can now occur two ways:
149149#include <utils/relcache.h>
150150#include <miscadmin.h>
151151#include <commands/async.h>
152+ #include <commands/sequence.h>
152153
153154/* ----------------
154155 * global variables holding the current transaction state.
@@ -813,7 +814,8 @@ CommitTransaction()
813814 * do commit processing
814815 * ----------------
815816 */
816- DestroyTempRels ();
817+ CloseSequences ();
818+ DestroyTempRels ();
817819 AtEOXact_portals ();
818820 RecordTransactionCommit ();
819821 RelationPurgeLocalRelation (true);
@@ -878,6 +880,7 @@ AbortTransaction()
878880 * do abort processing
879881 * ----------------
880882 */
883+ CloseSequences ();
881884 AtEOXact_portals ();
882885 RecordTransactionAbort ();
883886 RelationPurgeLocalRelation (false);
You can’t perform that action at this time.
0 commit comments