Skip to content

Commit 1bf946b

Browse files
committed
Doc: Document known problem with Windows collation versions.
Warn users that locales with traditional Windows NLS names like "English_United States.1252" won't provide version information, and that something like initdb --lc-collate=en-US would be needed to fix that problem for the initial template databases. Discussion: https://postgr.es/m/CA%2BhUKGJ_hk3rU%3D%3Dg2FpAMChb_4i%2BTJacpjjqFsinY-tRM3FBmA%40mail.gmail.com
1 parent 4097233 commit 1bf946b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/src/sgml/charset.sgml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,15 @@ CREATE COLLATION ignore_accents (provider = icu, locale = 'und-u-ks-level1-kc-tr
985985
approach is imperfect as maintainers are free to back-port newer
986986
collation definitions to older C library releases.
987987
</para>
988+
<para>
989+
When using Windows collations, version information is only available for
990+
collations defined with BCP 47 language tags such as
991+
<literal>en-US</literal>. Currently, <command>initdb</command> selects
992+
a default locale using a traditional Windows language and country
993+
string such as <literal>English_United States.1252</literal>. The
994+
<literal>--lc-collate</literal> option can be used to provide an explicit
995+
locale name in BCP 47 format.
996+
</para>
988997
</note>
989998
</sect2>
990999
</sect1>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy