pgsql: Make GIN and GIST pass the index collation to all their support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Make GIN and GIST pass the index collation to all their support
Дата
Msg-id E1QDQTs-0005ka-7b@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make GIN and GIST pass the index collation to all their support functions.

Experimentation with contrib/btree_gist shows that the majority of the GIST
support functions potentially need collation information.  Safest policy
seems to be to pass it to all of them, instead of making assumptions about
which ones could possibly need it.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ae20bf1740c53494e15fadfd8c2c6444032a3441

Modified Files
--------------
src/backend/access/gin/ginget.c     |    6 ++--
src/backend/access/gin/ginscan.c    |   17 +++++++------
src/backend/access/gin/ginutil.c    |   21 +++++++++--------
src/backend/access/gist/gist.c      |   17 +++++++++++++
src/backend/access/gist/gistsplit.c |   21 +++++++++-------
src/backend/access/gist/gistutil.c  |   43 ++++++++++++++++++++--------------
src/include/access/gin_private.h    |    4 +-
src/include/access/gist_private.h   |    3 ++
8 files changed, 82 insertions(+), 50 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: De-kludge contrib/btree_gin for collations.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix contrib/btree_gist to handle collations properly.