Tweak collation setup for GIN index comparison functions.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/gin/ginutil.c | modified | +23 −3 |