Skip to content

Commit 89cf2d5

Browse files
committed
pg_upgrade: no need to remove "members" files for pre-9.3 upgrades
Per analysis by Alvaro Backpatch through 9.3
1 parent 7980ab3 commit 89cf2d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/pg_upgrade/pg_upgrade.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,11 @@ copy_clog_xlog_xid(void)
451451
else if (new_cluster.controldata.cat_ver >= MULTIXACT_FORMATCHANGE_CAT_VER)
452452
{
453453
/*
454-
* Remove files created by initdb that no longer match the
455-
* new multi-xid value.
454+
* Remove offsets/0000 file created by initdb that no longer matches
455+
* the new multi-xid value. "members" starts at zero so no need to
456+
* remove it.
456457
*/
457458
remove_new_subdir("pg_multixact/offsets", false);
458-
remove_new_subdir("pg_multixact/members", false);
459459

460460
prep_status("Setting oldest multixact ID on new cluster");
461461

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