Commit 750ccaef authored by Bruce Momjian's avatar Bruce Momjian

pg_upgrade: no need to check for matching float8_pass_by_value

Report by Noah Misch
parent c65aa7a8
...@@ -564,8 +564,7 @@ check_control_data(ControlData *oldctrl, ...@@ -564,8 +564,7 @@ check_control_data(ControlData *oldctrl,
if (oldctrl->date_is_int != newctrl->date_is_int) if (oldctrl->date_is_int != newctrl->date_is_int)
pg_fatal("old and new pg_controldata date/time storage types do not match\n"); 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) /* float8_pass_by_value does not need to match */
pg_fatal("old and new pg_controldata float8 argument passing methods do not match\n");
/* /*
* We might eventually allow upgrades from checksum to no-checksum * We might eventually allow upgrades from checksum to no-checksum
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment