Skip to content

Commit 85ea933

Browse files
committed
Oops, forgot to change the order of entries in 2PC callback arrays when I
renumbered the resource managers. This should fix the buildfarm..
1 parent b81831a commit 85ea933

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/backend/access/transam/twophase_rmgr.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,34 +25,34 @@ const TwoPhaseCallback twophase_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] =
2525
{
2626
NULL, /* END ID */
2727
lock_twophase_recover, /* Lock */
28-
predicatelock_twophase_recover, /* PredicateLock */
2928
NULL, /* pgstat */
30-
multixact_twophase_recover /* MultiXact */
29+
multixact_twophase_recover, /* MultiXact */
30+
predicatelock_twophase_recover /* PredicateLock */
3131
};
3232

3333
const TwoPhaseCallback twophase_postcommit_callbacks[TWOPHASE_RM_MAX_ID + 1] =
3434
{
3535
NULL, /* END ID */
3636
lock_twophase_postcommit, /* Lock */
37-
NULL, /* PredicateLock */
3837
pgstat_twophase_postcommit, /* pgstat */
39-
multixact_twophase_postcommit /* MultiXact */
38+
multixact_twophase_postcommit, /* MultiXact */
39+
NULL /* PredicateLock */
4040
};
4141

4242
const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID + 1] =
4343
{
4444
NULL, /* END ID */
4545
lock_twophase_postabort, /* Lock */
46-
NULL, /* PredicateLock */
4746
pgstat_twophase_postabort, /* pgstat */
48-
multixact_twophase_postabort /* MultiXact */
47+
multixact_twophase_postabort, /* MultiXact */
48+
NULL /* PredicateLock */
4949
};
5050

5151
const TwoPhaseCallback twophase_standby_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] =
5252
{
5353
NULL, /* END ID */
5454
lock_twophase_standby_recover, /* Lock */
55-
NULL, /* PredicateLock */
5655
NULL, /* pgstat */
57-
NULL /* MultiXact */
56+
NULL, /* MultiXact */
57+
NULL /* PredicateLock */
5858
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy