Skip to content

Commit 174421b

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 59e6116 commit 174421b

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
@@ -452,11 +452,11 @@ copy_clog_xlog_xid(void)
452452
else if (new_cluster.controldata.cat_ver >= MULTIXACT_FORMATCHANGE_CAT_VER)
453453
{
454454
/*
455-
* Remove files created by initdb that no longer match the
456-
* new multi-xid value.
455+
* Remove offsets/0000 file created by initdb that no longer matches
456+
* the new multi-xid value. "members" starts at zero so no need to
457+
* remove it.
457458
*/
458459
remove_new_subdir("pg_multixact/offsets", false);
459-
remove_new_subdir("pg_multixact/members", false);
460460

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

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