pgsql: Refactor GIN's handling of duplicate search entries.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Refactor GIN's handling of duplicate search entries.
Дата
Msg-id E1PbemO-0006Es-K8@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Refactor GIN's handling of duplicate search entries.

The original coding could combine duplicate entries only when they
originated from the same qual condition.  In particular it could not
combine cases where multiple qual conditions all give rise to full-index
scan requests, which is an expensive case well worth optimizing.  Refactor
so that duplicates are recognized across all the quals.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=56a57473a999b0497e63bde3e303beda5a3c0ff3

Modified Files
--------------
src/backend/access/gin/ginget.c  |  419 +++++++++++++++++++-------------------
src/backend/access/gin/ginscan.c |  294 +++++++++++++++------------
src/include/access/gin_private.h |   52 +++--
3 files changed, 402 insertions(+), 363 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: In pg_upgrade, remove functions that did sequential array scans
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove pg_am.amindexnulls.