We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent6772c1e commit2494a9aCopy full SHA for 2494a9a
contrib/pg_upgrade/controldata.c
@@ -469,7 +469,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
469
470
/* verify that we got all the mandatory pg_control data */
471
if (!got_xid|| !got_oid||
472
-!got_multi|| !got_mxoff|| !got_oldestmulti||
+!got_multi|| !got_mxoff||
473
+(!got_oldestmulti&&GET_MAJOR_VERSION(cluster->major_version) >=903)||
474
(!live_check&& !got_nextxlogfile)||
475
!got_tli||
476
!got_align|| !got_blocksz|| !got_largesz|| !got_walsz||
@@ -492,7 +493,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
492
493
if (!got_mxoff)
494
pg_log(PG_REPORT," latest checkpoint next MultiXactOffset\n");
495
-if (!got_oldestmulti)
496
+if (!got_oldestmulti&&GET_MAJOR_VERSION(cluster->major_version) >=903)
497
pg_log(PG_REPORT," latest checkpoint oldest MultiXactId\n");
498
499
if (!live_check&& !got_nextxlogfile)