Commit 076f7286 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

CloseSequences () at xact commit/abort.

parent 6ec8d375
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.9 1997/03/25 04:10:21 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.10 1997/04/02 03:38:02 vadim Exp $
* *
* NOTES * NOTES
* Transaction aborts can now occur two ways: * Transaction aborts can now occur two ways:
...@@ -149,6 +149,7 @@ ...@@ -149,6 +149,7 @@
#include <utils/relcache.h> #include <utils/relcache.h>
#include <miscadmin.h> #include <miscadmin.h>
#include <commands/async.h> #include <commands/async.h>
#include <commands/sequence.h>
/* ---------------- /* ----------------
* global variables holding the current transaction state. * global variables holding the current transaction state.
...@@ -813,7 +814,8 @@ CommitTransaction() ...@@ -813,7 +814,8 @@ CommitTransaction()
* do commit processing * do commit processing
* ---------------- * ----------------
*/ */
DestroyTempRels(); CloseSequences ();
DestroyTempRels();
AtEOXact_portals(); AtEOXact_portals();
RecordTransactionCommit(); RecordTransactionCommit();
RelationPurgeLocalRelation(true); RelationPurgeLocalRelation(true);
...@@ -878,6 +880,7 @@ AbortTransaction() ...@@ -878,6 +880,7 @@ AbortTransaction()
* do abort processing * do abort processing
* ---------------- * ----------------
*/ */
CloseSequences ();
AtEOXact_portals(); AtEOXact_portals();
RecordTransactionAbort(); RecordTransactionAbort();
RelationPurgeLocalRelation(false); RelationPurgeLocalRelation(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment