postgresql/src/bin
Peter Eisentraut 148f66d59e Don't allow creation of database with ICU locale with unsupported encoding
Check in CREATE DATABASE and initdb that the selected encoding is
supported by ICU.  Before, they would pass but users would later get
an error from the server when they tried to use the database.

Also document that initdb sets the encoding to UTF8 by default if the
ICU locale provider is chosen.

Author: Marina Polyakova <m.polyakova@postgrespro.ru>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://www.postgresql.org/message-id/6dd6db0984d86a51b7255ba79f111971@postgrespro.ru
2022-09-16 09:41:25 +02:00
..
initdb Don't allow creation of database with ICU locale with unsupported encoding 2022-09-16 09:41:25 +02:00
pg_amcheck Translation updates 2022-09-05 14:37:22 +02:00
pg_archivecleanup Translation updates 2022-09-05 14:37:22 +02:00
pg_basebackup Fix incorrect value for "strategy" with deflateParams() in walmethods.c 2022-09-14 14:52:26 +09:00
pg_checksums Translation updates 2022-09-05 14:37:22 +02:00
pg_config Translation updates 2022-09-05 14:37:22 +02:00
pg_controldata Translation updates 2022-09-05 14:37:22 +02:00
pg_ctl Translation updates 2022-09-05 14:37:22 +02:00
pg_dump Translation updates 2022-09-05 14:37:22 +02:00
pg_resetwal Translation updates 2022-09-05 14:37:22 +02:00
pg_rewind Translation updates 2022-09-05 14:37:22 +02:00
pg_test_fsync Translation updates 2022-09-05 14:37:22 +02:00
pg_test_timing Translation updates 2022-09-05 14:37:22 +02:00
pg_upgrade Move any remaining files generated by pg_upgrade into an internal subdir 2022-09-13 10:38:59 +09:00
pg_verifybackup Translation updates 2022-09-05 14:37:22 +02:00
pg_waldump Translation updates 2022-09-05 14:37:22 +02:00
pgbench pgbench: Restore compatibility of --partitions=0 2022-05-18 09:47:38 +09:00
pgevent Update copyright for 2022 2022-01-07 19:04:57 -05:00
psql Translation updates 2022-09-05 14:37:22 +02:00
scripts Don't allow creation of database with ICU locale with unsupported encoding 2022-09-16 09:41:25 +02:00
Makefile Update copyright for 2022 2022-01-07 19:04:57 -05:00