From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor string case conversion into provider-specific files.
Date: Mon, 16 Dec 2024 17:37:11 +0000
Message-ID: <E1tNF1r-0032M1-9x@gemulon.postgresql.org> (raw)
Refactor string case conversion into provider-specific files.
Create API entry points pg_strlower(), etc., that work with any
provider and give the caller control over the destination
buffer. Then, move provider-specific logic into pg_locale_builtin.c,
pg_locale_icu.c, and pg_locale_libc.c as appropriate.
Discussion: https://postgr.es/m/7aa46d77b377428058403723440862d12a8a129a.camel@j-davis.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/86a5d6006aff956a5e00982b7628177fa7dc5027
Modified Files
--------------
src/backend/utils/adt/formatting.c | 465 ++++--------------------------
src/backend/utils/adt/pg_locale.c | 78 +++++
src/backend/utils/adt/pg_locale_builtin.c | 80 +++++
src/backend/utils/adt/pg_locale_icu.c | 130 ++++++++-
src/backend/utils/adt/pg_locale_libc.c | 327 +++++++++++++++++++++
src/include/utils/pg_locale.h | 14 +-
6 files changed, 676 insertions(+), 418 deletions(-)
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: Refactor string case conversion into provider-specific files.
In-Reply-To: <E1tNF1r-0032M1-9x@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