| From: | Jeff Davis <jdavis(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Change collation cache to use simplehash.h. |
| Date: | 2024-07-28 19:57:56 |
| Message-ID: | E1sYA1k-001dtO-RA@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2024-07-28 20:20:41 | pgsql: Refactor: make default_locale internal to pg_locale.c. |
| Previous Message | Alexander Korotkov | 2024-07-28 11:04:14 | pgsql: amcheck: Optimize speed of checking for unique constraint violat |