summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/createdb.sgml
diff options
context:
space:
mode:
authorJeff Davis2023-06-16 17:27:32 +0000
committerJeff Davis2023-06-16 17:27:32 +0000
commita14e75eb0b6a73821e0d66c0d407372ec8376105 (patch)
treeb0fd40e450cdb4f498f911b54a195dcd3ebd1a58 /doc/src/sgml/ref/createdb.sgml
parentc0d951262c80f42b3bfe037f940e103a24da84f4 (diff)
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/[email protected] Reviewed-by: Peter Eisentraut
Diffstat (limited to 'doc/src/sgml/ref/createdb.sgml')
-rw-r--r--doc/src/sgml/ref/createdb.sgml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml
index e23419ba6cb..e4647d5ce71 100644
--- a/doc/src/sgml/ref/createdb.sgml
+++ b/doc/src/sgml/ref/createdb.sgml
@@ -124,7 +124,10 @@ PostgreSQL documentation
<listitem>
<para>
Specifies the locale to be used in this database. This is equivalent
- to specifying both <option>--lc-collate</option> and <option>--lc-ctype</option>.
+ to specifying <option>--lc-collate</option>,
+ <option>--lc-ctype</option>, and <option>--icu-locale</option> to the
+ same value. Some locales are only valid for ICU and must be set with
+ <option>--icu-locale</option>.
</para>
</listitem>
</varlistentry>