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: Control collation behavior with a method table.
Date: Wed, 08 Jan 2025 22:38:24 +0000
Message-ID: <E1tVegy-000Z0Y-Jd@gemulon.postgresql.org> (raw)

Control collation behavior with a method table.

Previously, behavior branched based on the provider. A method table is
less error-prone and more flexible.

The ctype behavior will be addressed in an upcoming commit.

Reviewed-by: Andreas Karlsson
Discussion: https://postgr.es/m/2830211e1b6e6a2e26d845780b03e125281ea17b.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a2f17f004d229f69a32cfa80904b95edcbc68f95

Modified Files
--------------
src/backend/utils/adt/pg_locale.c      | 123 ++++-----------------------
src/backend/utils/adt/pg_locale_icu.c  | 147 +++++++++++++++++++--------------
src/backend/utils/adt/pg_locale_libc.c |  53 ++++++++++--
src/include/utils/pg_locale.h          |  33 ++++++++
4 files changed, 180 insertions(+), 176 deletions(-)



Message-ID: <E1tVegy-000Z0Y-Jd@gemulon.postgresql.org>
Permalink:  ../E1tVegy-000Z0Y-Jd@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tVegy-000Z0Y-Jd@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: Control collation behavior with a method table.
  In-Reply-To: <E1tVegy-000Z0Y-Jd@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