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

Commitbe475a2

Browse files
Revert previous temporary patch
1 parent2837721 commitbe475a2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎contrib/pg_upgrade/controldata.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -621,12 +621,12 @@ check_control_data(ControlData *oldctrl,
621621
"options.\n");
622622
}
623623

624-
///* We might eventually allow upgrades from checksum to no-checksum clusters. */
625-
//if (oldctrl->data_checksums != newctrl->data_checksums)
626-
//{
627-
//pg_log(PG_FATAL,
628-
// "old and new pg_controldata checksums settings are invalid or do not match\n");
629-
//}
624+
/* We might eventually allow upgrades from checksum to no-checksum clusters. */
625+
if (oldctrl->data_checksums!=newctrl->data_checksums)
626+
{
627+
pg_log(PG_FATAL,
628+
"old and new pg_controldata checksums settings are invalid or do not match\n");
629+
}
630630
}
631631

632632

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp