Content-Length: 276461 | pFad | http://github.com/postgrespro/postgres/commit/2494a9af4c8523f33ec78cd092d21a17780b4b5c

7D Don't require oldestMultixact if server doesn't have it · postgrespro/postgres@2494a9a · GitHub
Skip to content

Commit 2494a9a

Browse files
committed
Don't require oldestMultixact if server doesn't have it
1 parent 6772c1e commit 2494a9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

contrib/pg_upgrade/controldata.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2494a9af4c8523f33ec78cd092d21a17780b4b5c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy