pgsql: Make GiST index searches smarter about queries against empty ran - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Make GiST index searches smarter about queries against empty ran
Date
Msg-id E1RUNuL-0005d8-4j@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make GiST index searches smarter about queries against empty ranges.

In the cases where the result of the called proc is negated, we should
explicitly test both inputs for empty, to ensure we'll never return "true"
for an unsatisfiable query.  In other cases we can rely on the called proc
to say the right thing.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5966bcecf6167f2921e614e66499fa4d2c195c64

Modified Files
--------------
src/backend/utils/adt/rangetypes_gist.c |   13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix overly-aggressive and inconsistent quoting in OS X start scr
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Use the preferred version of xsubpp, not necessarily the one tha