pgsql: Tweak collation setup for GIN index comparison functions. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Tweak collation setup for GIN index comparison functions.
Date
Msg-id E1Q8Ibn-0004yV-MN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1766a5b63a950a667ed39c25256156bf366eb43c

Modified Files
--------------
src/backend/access/gin/ginutil.c |   26 +++++++++++++++++++++++---
1 files changed, 23 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Avoid an unnecessary syscache lookup in parse_coerce.c.
Next
From: Robert Haas
Date:
Subject: pgsql: Truncate the predicate lock SLRU to empty, instead of almost emp