[COMMITTERS] pgsql: Fix comparison logic in partition_bounds_equal for non-finitebo
[COMMITTERS] pgsql: Fix comparison logic in partition_bounds_equal for non-finitebo
От:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/6546ffb35db78365d9f0011d75d16625e6040437 Modified Files -------------- src/backend/catalog/partition.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-)