summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2014-07-02 17:11:05 +0000
committerBruce Momjian2014-07-02 17:11:05 +0000
commit89cf2d5203085a3b74ab8ce1f323c93f8e410473 (patch)
treeb1884da434bbbf89e712eea33cdaac41247fcc66
parent7980ab30ecf36162699f138697e2ff5589d9063e (diff)
pg_upgrade: no need to remove "members" files for pre-9.3 upgrades
Per analysis by Alvaro Backpatch through 9.3
-rw-r--r--contrib/pg_upgrade/pg_upgrade.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/pg_upgrade/pg_upgrade.c b/contrib/pg_upgrade/pg_upgrade.c
index b32d81efe71..f19d9116d2b 100644
--- a/contrib/pg_upgrade/pg_upgrade.c
+++ b/contrib/pg_upgrade/pg_upgrade.c
@@ -451,11 +451,11 @@ copy_clog_xlog_xid(void)
else if (new_cluster.controldata.cat_ver >= MULTIXACT_FORMATCHANGE_CAT_VER)
{
/*
- * Remove files created by initdb that no longer match the
- * new multi-xid value.
+ * Remove offsets/0000 file created by initdb that no longer matches
+ * the new multi-xid value. "members" starts at zero so no need to
+ * remove it.
*/
remove_new_subdir("pg_multixact/offsets", false);
- remove_new_subdir("pg_multixact/members", false);
prep_status("Setting oldest multixact ID on new cluster");