Commit 89cf2d52 authored by Bruce Momjian's avatar Bruce Momjian

pg_upgrade: no need to remove "members" files for pre-9.3 upgrades

Per analysis by Alvaro

Backpatch through 9.3
parent 7980ab30
...@@ -451,11 +451,11 @@ copy_clog_xlog_xid(void) ...@@ -451,11 +451,11 @@ copy_clog_xlog_xid(void)
else if (new_cluster.controldata.cat_ver >= MULTIXACT_FORMATCHANGE_CAT_VER) else if (new_cluster.controldata.cat_ver >= MULTIXACT_FORMATCHANGE_CAT_VER)
{ {
/* /*
* Remove files created by initdb that no longer match the * Remove offsets/0000 file created by initdb that no longer matches
* new multi-xid value. * 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/offsets", false);
remove_new_subdir("pg_multixact/members", false);
prep_status("Setting oldest multixact ID on new cluster"); prep_status("Setting oldest multixact ID on new cluster");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment