Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit076f728

Browse files
committed
CloseSequences () at xact commit/abort.
1 parent6ec8d37 commit076f728

File tree

1 file changed

+5
-2
lines changed
  • src/backend/access/transam

1 file changed

+5
-2
lines changed

‎src/backend/access/transam/xact.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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:
@@ -149,6 +149,7 @@
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);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp