pgsql: Remember last collation to speed up collation cache.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remember last collation to speed up collation cache.
Date: 2024-09-03 23:31:27
Message-ID: E1slcze-0001sj-Bx@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-09-03 23:56:53 pgsql: Avoid installcheck failure in TAP tests using injection_points
Previous Message Michael Paquier 2024-09-03 23:06:22 pgsql: Simplify makefiles exporting twice enable_injection_points