pgsql: Make GiST index searches smarter about queries against empty ran

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make GiST index searches smarter about queries against empty ran
Дата
Msg-id E1RUNuL-0005d8-4j@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: