Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14f445f

Browse files
committed
Actually, we need to bump the format identifier on twophase files
because of readjustment of 2PC rmgr IDs for flatfile removal.
1 parent b92f7a2 commit 14f445f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/transam/twophase.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.54 2009/06/25 19:05:52 heikki Exp $
10+
* $PostgreSQL: pgsql/src/backend/access/transam/twophase.c,v 1.55 2009/09/01 04:15:45 tgl Exp $
1111
*
1212
* NOTES
1313
* Each global transaction is associated with a global transaction
@@ -716,7 +716,7 @@ TwoPhaseGetDummyProc(TransactionId xid)
716716
/*
717717
* Header for a 2PC state file
718718
*/
719-
#define TWOPHASE_MAGIC 0x57F94531 /* format identifier */
719+
#define TWOPHASE_MAGIC 0x57F94532 /* format identifier */
720720

721721
typedef struct TwoPhaseFileHeader
722722
{

0 commit comments

Comments
 (0)