Tweak collation setup for GIN index comparison functions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1766a5b63a950a667ed39c25256156bf366eb43c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-04-08T20:48:25Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/backend/access/gin/ginutil.c modified +23 −3