pgsql: Change collation cache to use simplehash.h. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Change collation cache to use simplehash.h.
Date
Msg-id E1sYA1k-001dtO-RA@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Change collation cache to use simplehash.h.

Speeds up text comparison expressions when using a collation other
than the database default collation. Does not affect larger operations
such as ORDER BY, because the lookup is only done once.

Discussion: https://postgr.es/m/7bb9f018d20a7b30b9a7f6231efab1b5e50c7720.camel@j-davis.com
Reviewed-by: John Naylor, Andreas Karlsson

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/005c6b833f7866b71b50a5382e30d6c3f695306e

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 39 +++++++++++++++++++++++++++------------
1 file changed, 27 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: amcheck: Optimize speed of checking for unique constraint violat
Next
From: Jeff Davis
Date:
Subject: pgsql: Refactor: make default_locale internal to pg_locale.c.