mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +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");
|
"options.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We might eventually allow upgrades from checksum to no-checksum clusters. */
|
// /* We might eventually allow upgrades from checksum to no-checksum clusters. */
|
||||||
if (oldctrl->data_checksums != newctrl->data_checksums)
|
// if (oldctrl->data_checksums != newctrl->data_checksums)
|
||||||
{
|
// {
|
||||||
pg_log(PG_FATAL,
|
// pg_log(PG_FATAL,
|
||||||
"old and new pg_controldata checksums settings are invalid or do not match\n");
|
// "old and new pg_controldata checksums settings are invalid or do not match\n");
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user