postgresql/src/bin/scripts
Jeff Davis 2d819a08a1 Introduce "builtin" collation provider.
New provider for collations, like "libc" or "icu", but without any
external dependency.

Initially, the only locale supported by the builtin provider is "C",
which is identical to the libc provider's "C" locale. The libc
provider's "C" locale has always been treated as a special case that
uses an internal implementation, without using libc at all -- so the
new builtin provider uses the same implementation.

The builtin provider's locale is independent of the server environment
variables LC_COLLATE and LC_CTYPE. Using the builtin provider, the
database collation locale can be "C" while LC_COLLATE and LC_CTYPE are
set to "en_US", which is impossible with the libc provider.

By offering a new builtin provider, it clarifies that the semantics of
a collation using this provider will never depend on libc, and makes
it easier to document the behavior.

Discussion: https://postgr.es/m/ab925f69-5f9d-f85e-b87c-bd2a44798659@joeconway.com
Discussion: https://postgr.es/m/dd9261f4-7a98-4565-93ec-336c1c110d90@manitou-mail.org
Discussion: https://postgr.es/m/ff4c2f2f9c8fc7ca27c1c24ae37ecaeaeaff6b53.camel%40j-davis.com
Reviewed-by: Daniel Vérité, Peter Eisentraut, Jeremy Schneider
2024-03-13 23:33:44 -07:00
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Introduce "builtin" collation provider. 2024-03-13 23:33:44 -07:00
.gitignore Remove createlang and droplang 2017-03-23 14:16:45 -04:00
clusterdb.c clusterdb: Allow specifying tables to process in all databases. 2024-03-11 13:11:20 -05:00
common.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
common.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
createdb.c Introduce "builtin" collation provider. 2024-03-13 23:33:44 -07:00
createuser.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
dropdb.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
dropuser.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Break up long GETTEXT_FILES lists 2023-03-08 15:05:43 +01:00
pg_isready.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
reindexdb.c reindexdb: Allow specifying objects to process in all databases. 2024-03-11 15:42:27 -05:00
vacuumdb.c vacuumdb: Allow specifying objects to process in all databases. 2024-03-11 10:33:36 -05:00