Thread: pgsql: Remember last collation to speed up collation cache.

pgsql: Remember last collation to speed up collation cache.

From
Jeff Davis
Date:
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(+)