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

From Jeff Davis
Subject pgsql: Move libc-specific code from pg_locale.c into pg_locale_libc.c.
Date
Msg-id E1t0R3z-000psB-Cp@gemulon.postgresql.org
Whole thread Raw
List 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.camel@j-davis.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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: ecpg: avoid breaking the IDENT precedence level in two.
Next
From: Tom Lane
Date:
Subject: pgsql: ecpg: add cross-checks to parse.pl for usage of internal tables.