postgresql/src/bin
Jeff Davis f3a01af29b ICU: do not convert locale 'C' to 'en-US-u-va-posix'.
Older versions of ICU canonicalize "C" to "en-US-u-va-posix"; but
starting in ICU version 64, the "C" locale is considered
obsolete. Postgres commit ea1db8ae70 introduced code to always
canonicalize "C" to "en-US-u-va-posix" for consistency and
convenience, but it was deemed too confusing.

This commit removes that code, so that "C" is treated like other ICU
locale names: canonicalization is attempted, and if it fails, the
behavior is controlled by icu_validation_level.

A similar change was previously committed as f7faa9976c, then reverted
due to an ICU-version-dependent test failure. This commit un-reverts
it, omitting the test because we now expect the behavior to depend on
the version of ICU being used.

Discussion: https://postgr.es/m/3a200aca-4672-4b37-fc91-5d198a323503%40eisentraut.org
Discussion: https://postgr.es/m/f83f089ee1e9acd5dbbbf3353294d24e1f196e95.camel@j-davis.com
Discussion: https://postgr.es/m/37520ec1ae9591f83132f82dbd625f3fc2d69c16.camel@j-davis.com
2023-06-21 13:18:25 -07:00
..
initdb ICU: do not convert locale 'C' to 'en-US-u-va-posix'. 2023-06-21 13:18:25 -07:00
pg_amcheck Translation updates 2023-05-22 12:44:31 +02:00
pg_archivecleanup Translation updates 2023-05-22 12:44:31 +02:00
pg_basebackup Add missing pg_basebackup TAP test for meson. 2023-06-16 10:32:49 +09:00
pg_checksums Translation updates 2023-05-22 12:44:31 +02:00
pg_config Translation updates 2023-05-22 12:44:31 +02:00
pg_controldata Translation updates 2023-05-22 12:44:31 +02:00
pg_ctl Translation updates 2023-05-22 12:44:31 +02:00
pg_dump initdb: change default --locale-provider back to libc. 2023-06-21 11:10:03 -07:00
pg_resetwal Translation updates 2023-05-22 12:44:31 +02:00
pg_rewind Translation updates 2023-05-22 12:44:31 +02:00
pg_test_fsync Translation updates 2023-05-22 12:44:31 +02:00
pg_test_timing Translation updates 2023-05-22 12:44:31 +02:00
pg_upgrade Translation updates 2023-05-22 12:44:31 +02:00
pg_verifybackup Translation updates 2023-05-22 12:44:31 +02:00
pg_waldump Translation updates 2023-05-22 12:44:31 +02:00
pgbench Fix pgbench in prepared mode with an empty pipeline 2023-05-25 12:36:18 +02:00
pgevent Update copyright for 2023 2023-01-02 15:00:37 -05:00
psql Translation updates 2023-05-22 12:44:31 +02:00
scripts initdb: change default --locale-provider back to libc. 2023-06-21 11:10:03 -07:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00