From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change wchar2char() and char2wchar() to accept a locale_t.
Date: Wed, 09 Jul 2025 15:48:04 +0000
Message-ID: <E1uZX1g-005RWu-0l@gemulon.postgresql.org> (raw)
Change wchar2char() and char2wchar() to accept a locale_t.
These are libc-specific functions, so should require a locale_t rather
than a pg_locale_t (which could use another provider).
Discussion: https://postgr.es/m/a8666c391dfcabe79868d95f7160eac533ace718.camel%40j-davis.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/53cd0b71ee2e99c611a38ce58636a04d5dde4cc1
Modified Files
--------------
src/backend/tsearch/ts_locale.c | 4 ++--
src/backend/tsearch/wparser_def.c | 2 +-
src/backend/utils/adt/pg_locale_libc.c | 24 ++++++++++++------------
src/include/utils/pg_locale.h | 4 ++--
4 files changed, 17 insertions(+), 17 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: Change wchar2char() and char2wchar() to accept a locale_t.
In-Reply-To: <E1uZX1g-005RWu-0l@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