[COMMITTERS] pgsql: Fix comparison logic in partition_bounds_equal for non-finitebo - Mailing list pgsql-committers

From Robert Haas
Subject [COMMITTERS] pgsql: Fix comparison logic in partition_bounds_equal for non-finitebo
Date
Msg-id E1cUgBR-0002YP-6A@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: [COMMITTERS] pgsql: Record dependencies on owners for logical replication objects
Next
From: Robert Haas
Date:
Subject: [COMMITTERS] pgsql: Avoid useless respawining the autovacuum launcher at highspeed.