pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remember last collation to speed up collation cache.
Date: Tue, 03 Sep 2024 23:31:27 +0000
Message-ID: <E1slcze-0001sj-Bx@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1slcze-0001sj-Bx@gemulon.postgresql.org>
Permalink:  ../E1slcze-0001sj-Bx@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1slcze-0001sj-Bx@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remember last collation to speed up collation cache.
  In-Reply-To: <E1slcze-0001sj-Bx@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox