Commit 6546ffb
committed
Fix comparison logic in partition_bounds_equal for non-finite bounds.
If either bound is infinite, then we shouldn't even try to perform a
comparison of the values themselves. Rearrange the logic so that
we don't.
Per buildfarm member skink and Tom Lane.1 parent 50cf1c8 commit 6546ffb
1 file changed
+16
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
627 | 643 | | |
628 | 644 | | |
629 | 645 | | |
630 | 646 | | |
631 | 647 | | |
632 | 648 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | 649 | | |
638 | 650 | | |
639 | 651 | | |
| |||
0 commit comments