]> granicus.if.org Git - postgresql/commit
Tweak collation setup for GIN index comparison functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Apr 2011 20:48:25 +0000 (16:48 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Apr 2011 20:48:25 +0000 (16:48 -0400)
commit1766a5b63a950a667ed39c25256156bf366eb43c
tree042370605c4b067ed349de8d0785b48c3a3ea9f5
parentc5ff3ff49229e8fb7da0e46b463bfc9b12219078
Tweak collation setup for GIN index comparison functions.

Honor index column's collation spec if there is one, don't go to the
expense of calling get_typcollation when we can reasonably assume that
all GIN storage types will use default collation, and be sure to set
a collation for the comparePartialFn too.
src/backend/access/gin/ginutil.c