Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit fbbb65d

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 cec3be0 commit fbbb65d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/pg_upgrade/pg_upgrade.c

+3-3
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)