1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

pg_upgrade: no need to check for matching float8_pass_by_value

Report by Noah Misch
This commit is contained in:
Bruce Momjian 2015-05-16 15:27:14 -04:00
parent c65aa7a87e
commit 750ccaef29

View File

@ -564,8 +564,7 @@ check_control_data(ControlData *oldctrl,
if (oldctrl->date_is_int != newctrl->date_is_int)
pg_fatal("old and new pg_controldata date/time storage types do not match\n");
if (oldctrl->float8_pass_by_value != newctrl->float8_pass_by_value)
pg_fatal("old and new pg_controldata float8 argument passing methods do not match\n");
/* float8_pass_by_value does not need to match */
/*
* We might eventually allow upgrades from checksum to no-checksum