Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 750ccae

Browse files
committed
pg_upgrade: no need to check for matching float8_pass_by_value
Report by Noah Misch
1 parent c65aa7a commit 750ccae

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bin/pg_upgrade/controldata.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,7 @@ check_control_data(ControlData *oldctrl,
564564
if (oldctrl->date_is_int != newctrl->date_is_int)
565565
pg_fatal("old and new pg_controldata date/time storage types do not match\n");
566566

567-
if (oldctrl->float8_pass_by_value != newctrl->float8_pass_by_value)
568-
pg_fatal("old and new pg_controldata float8 argument passing methods do not match\n");
567+
/* float8_pass_by_value does not need to match */
569568

570569
/*
571570
* We might eventually allow upgrades from checksum to no-checksum

0 commit comments

Comments
 (0)