Skip to content

Commit 2837721

Browse files
Temporarily silence pg_upgrade's checksums check
1 parent ceabfb2 commit 2837721

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)