CREATE DATABASE: make LOCALE apply to all collation providers.
Jeff Davis <jdavis@postgresql.org>
CREATE DATABASE: make LOCALE apply to all collation providers. For CREATE DATABASE, make LOCALE parameter apply regardless of the provider used. Also affects initdb and createdb --locale arguments. Previously, LOCALE (and --locale) only affected the database default collation when using the libc provider. Discussion: https://postgr.es/m/1a63084d-221e-4075-619e-6b3e590f673e@enterprisedb.com Reviewed-by: Peter Eisentraut
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/create_collation.sgml | modified | +16 −7 |
| doc/src/sgml/ref/create_database.sgml | modified | +45 −12 |
| doc/src/sgml/ref/createdb.sgml | modified | +4 −1 |
| doc/src/sgml/ref/initdb.sgml | modified | +4 −3 |
| src/backend/commands/collationcmds.c | modified | +1 −1 |
| src/backend/commands/dbcommands.c | modified | +12 −5 |
| src/bin/initdb/initdb.c | modified | +8 −2 |
| src/bin/initdb/t/001_initdb.pl | modified | +11 −0 |
| src/bin/scripts/createdb.c | modified | +5 −8 |
| src/bin/scripts/t/020_createdb.pl | modified | +12 −3 |
| src/test/icu/t/010_database.pl | modified | +26 −7 |
| src/test/regress/expected/collate.icu.utf8.out | modified | +11 −11 |
Documentation touched
Discussion
- Order changes in PG16 since ICU introduction 115 messages · 2023-04-21 → 2023-06-16