]> granicus.if.org Git - postgresql/commitdiff
Oops, forgot to change the order of entries in 2PC callback arrays when I
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 14 Jun 2011 12:16:36 +0000 (15:16 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 14 Jun 2011 12:19:40 +0000 (15:19 +0300)
renumbered the resource managers. This should fix the buildfarm..

src/backend/access/transam/twophase_rmgr.c

index 47c15af241d29aca96df1fa62a0be9975ddc70bb..bbfec0da69eb5badc841b4339a72f9c0b5aa7b41 100644 (file)
@@ -25,34 +25,34 @@ const TwoPhaseCallback twophase_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] =
 {
        NULL,                                           /* END ID */
        lock_twophase_recover,          /* Lock */
-       predicatelock_twophase_recover,         /* PredicateLock */
        NULL,                                           /* pgstat */
-       multixact_twophase_recover      /* MultiXact */
+       multixact_twophase_recover,     /* MultiXact */
+       predicatelock_twophase_recover          /* PredicateLock */
 };
 
 const TwoPhaseCallback twophase_postcommit_callbacks[TWOPHASE_RM_MAX_ID + 1] =
 {
        NULL,                                           /* END ID */
        lock_twophase_postcommit,       /* Lock */
-       NULL,                                           /* PredicateLock */
        pgstat_twophase_postcommit, /* pgstat */
-       multixact_twophase_postcommit           /* MultiXact */
+       multixact_twophase_postcommit,          /* MultiXact */
+       NULL                                            /* PredicateLock */
 };
 
 const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID + 1] =
 {
        NULL,                                           /* END ID */
        lock_twophase_postabort,        /* Lock */
-       NULL,                                           /* PredicateLock */
        pgstat_twophase_postabort,      /* pgstat */
-       multixact_twophase_postabort    /* MultiXact */
+       multixact_twophase_postabort,   /* MultiXact */
+       NULL                                            /* PredicateLock */
 };
 
 const TwoPhaseCallback twophase_standby_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] =
 {
        NULL,                                           /* END ID */
        lock_twophase_standby_recover,          /* Lock */
-       NULL,                                           /* PredicateLock */
        NULL,                                           /* pgstat */
-       NULL                                            /* MultiXact */
+       NULL,                                           /* MultiXact */
+       NULL                                            /* PredicateLock */
 };