File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -469,7 +469,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
469469
470470 /* verify that we got all the mandatory pg_control data */
471471 if (!got_xid || !got_oid ||
472- !got_multi || !got_mxoff || !got_oldestmulti ||
472+ !got_multi || !got_mxoff ||
473+ (!got_oldestmulti && GET_MAJOR_VERSION (cluster -> major_version ) >= 903 ) ||
473474 (!live_check && !got_nextxlogfile ) ||
474475 !got_tli ||
475476 !got_align || !got_blocksz || !got_largesz || !got_walsz ||
@@ -492,7 +493,7 @@ get_control_data(ClusterInfo *cluster, bool live_check)
492493 if (!got_mxoff )
493494 pg_log (PG_REPORT , " latest checkpoint next MultiXactOffset\n" );
494495
495- if (!got_oldestmulti )
496+ if (!got_oldestmulti && GET_MAJOR_VERSION ( cluster -> major_version ) >= 903 )
496497 pg_log (PG_REPORT , " latest checkpoint oldest MultiXactId\n" );
497498
498499 if (!live_check && !got_nextxlogfile )
You can’t perform that action at this time.
0 commit comments