From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix comparison logic in partition_bounds_equal for non-finite bo
Date: Fri, 20 Jan 2017 20:53:17 +0000
Message-ID: <E1cUgBR-0002YP-6A@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Fix comparison logic in partition_bounds_equal for non-finite bo
In-Reply-To: <E1cUgBR-0002YP-6A@gemulon.postgresql.org>
References: <E1cUgBR-0002YP-6A@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox