pgsql: Remember last collation to speed up collation cache. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Remember last collation to speed up collation cache.
Date
Msg-id E1slcze-0001sj-Bx@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remember last collation to speed up collation cache.

This optimization is to avoid a performance regression in an upcoming
patch that will remove lc_collate_is_c().

Discussion: https://postgr.es/m/96a559be83329bc66074a3925ebcfa8ceb16dfc5.camel@j-davis.com
Discussion: https://postgr.es/m/646f662e145ab38cff1c04d475f4448f53fc5042.camel@j-davis.com
Discussion: https://postgr.es/m/54565933-d82f-4d7c-8f47-288b1b570fd8@eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/12d3345c0d2842a36d0ee2bce06cfe7d3cac84da

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


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Simplify makefiles exporting twice enable_injection_points
Next
From: Michael Paquier
Date:
Subject: pgsql: Avoid installcheck failure in TAP tests using injection_points