pgsql: Make GIN and GIST pass the index collation to all their support - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Make GIN and GIST pass the index collation to all their support
Date
Msg-id E1QDQTs-0005ka-7b@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: De-kludge contrib/btree_gin for collations.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix contrib/btree_gist to handle collations properly.