pgsql: Move libc-specific code from pg_locale.c into pg_locale_libc.c.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move libc-specific code from pg_locale.c into pg_locale_libc.c.
Date: 2024-10-14 19:49:06
Message-ID: E1t0R3z-000psB-Cp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move libc-specific code from pg_locale.c into pg_locale_libc.c.

Move implementation of pg_locale_t code for libc collations into
pg_locale_libc.c. Other locale-related code, such as
pg_perm_setlocale(), remains in pg_locale.c for now.

Discussion: https://postgr.es/m/flat/2830211e1b6e6a2e26d845780b03e125281ea17b(dot)camel(at)j-davis(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/66ac94cdc79216e85f4c9e2d445c6f025653668e

Modified Files
--------------
src/backend/utils/adt/Makefile | 1 +
src/backend/utils/adt/meson.build | 1 +
src/backend/utils/adt/pg_locale.c | 474 +------------------------------
src/backend/utils/adt/pg_locale_libc.c | 502 +++++++++++++++++++++++++++++++++
4 files changed, 514 insertions(+), 464 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-10-14 19:59:39 pgsql: ecpg: add cross-checks to parse.pl for usage of internal tables.
Previous Message Tom Lane 2024-10-14 19:42:16 pgsql: ecpg: avoid breaking the IDENT precedence level in two.