Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit174421b

Browse files
committed
pg_upgrade: no need to remove "members" files for pre-9.3 upgrades
Per analysis by AlvaroBackpatch through 9.3
1 parent59e6116 commit174421b

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
elseif (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)

[8]ページ先頭

©2009-2025 Movatter.jp