]> granicus.if.org Git - postgresql/commit
Make GIN and GIST pass the index collation to all their support functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Apr 2011 00:13:12 +0000 (20:13 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Apr 2011 00:13:12 +0000 (20:13 -0400)
commitae20bf1740c53494e15fadfd8c2c6444032a3441
treeacbc7796d38c411fa5e23b3693be15e9aab7e664
parent474ff212e5c2e89a9955cc2355cb96b2fe40398e
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.
src/backend/access/gin/ginget.c
src/backend/access/gin/ginscan.c
src/backend/access/gin/ginutil.c
src/backend/access/gist/gist.c
src/backend/access/gist/gistsplit.c
src/backend/access/gist/gistutil.c
src/include/access/gin_private.h
src/include/access/gist_private.h