mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Temporarily silence pg_upgrade's checksums check
This commit is contained in:
parent
ceabfb20f9
commit
28377213bb
@ -621,12 +621,12 @@ check_control_data(ControlData *oldctrl,
|
||||
"options.\n");
|
||||
}
|
||||
|
||||
/* We might eventually allow upgrades from checksum to no-checksum clusters. */
|
||||
if (oldctrl->data_checksums != newctrl->data_checksums)
|
||||
{
|
||||
pg_log(PG_FATAL,
|
||||
"old and new pg_controldata checksums settings are invalid or do not match\n");
|
||||
}
|
||||
// /* We might eventually allow upgrades from checksum to no-checksum clusters. */
|
||||
// if (oldctrl->data_checksums != newctrl->data_checksums)
|
||||
// {
|
||||
// pg_log(PG_FATAL,
|
||||
// "old and new pg_controldata checksums settings are invalid or do not match\n");
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user