Fix comparison logic in partition_bounds_equal for non-finite bounds.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/partition.c | modified | +16 −4 |