postgresql/src/bin
Peter Eisentraut f2553d4306 Add option to use ICU as global locale provider
This adds the option to use ICU as the default locale provider for
either the whole cluster or a database.  New options for initdb,
createdb, and CREATE DATABASE are used to select this.

Since some (legacy) code still uses the libc locale facilities
directly, we still need to set the libc global locale settings even if
ICU is otherwise selected.  So pg_database now has three
locale-related fields: the existing datcollate and datctype, which are
always set, and a new daticulocale, which is only set if ICU is
selected.  A similar change is made in pg_collation for consistency,
but in that case, only the libc-related fields or the ICU-related
field is set, never both.

Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/5e756dd6-0e91-d778-96fd-b1bcb06c161a%402ndquadrant.com
2022-03-17 11:13:16 +01:00
..
initdb Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
pg_amcheck Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_archivecleanup Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_basebackup Change HAVE_LIBLZ4 and HAVE_LIBZSTD tests to USE_LZ4 and USE_ZSTD. 2022-03-15 13:06:25 -04:00
pg_checksums Remove PostgreSQL::Test::Utils::perl2host completely 2022-02-20 11:51:45 -05:00
pg_config Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_controldata Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_ctl Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing timeouts. 2022-03-04 18:53:13 -08:00
pg_dump Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
pg_resetwal Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_rewind Rework internal command generation of pg_rewind 2022-03-01 12:52:25 +09:00
pg_test_fsync Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_test_timing Replace Test::More plans with done_testing 2022-02-11 20:54:44 +01:00
pg_upgrade Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
pg_verifybackup Change HAVE_LIBLZ4 and HAVE_LIBZSTD tests to USE_LZ4 and USE_ZSTD. 2022-03-15 13:06:25 -04:00
pg_waldump Add support for zstd with compression of full-page writes in WAL 2022-03-11 12:18:53 +09:00
pgbench Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
scripts Add option to use ICU as global locale provider 2022-03-17 11:13:16 +01:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00