Skip to content

Commit 697c8e6

Browse files
committed
doc: Remove buggy ICU collation from documentation
We have had multiple reports that point to the '@colReorder=latn-digit' collation customization being buggy. We have reported this to ICU and are waiting for a fix. In the meantime, remove references to this from the documentation and replace it by another reordering example. Apparently, many users have been picking up this example specifically from the documentation. Author: Jehan-Guillaume de Rorthais <jgdr@dalibo.com> Discussion: https://www.postgresql.org/message-id/flat/153201618542.1404.3611626898935613264%40wrigleys.postgresql.org
1 parent 059872c commit 697c8e6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/src/sgml/charset.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -789,11 +789,11 @@ CREATE COLLATION german (provider = libc, locale = 'de_DE');
789789
</varlistentry>
790790

791791
<varlistentry>
792-
<term><literal>CREATE COLLATION digitslast (provider = icu, locale = 'en-u-kr-latn-digit');</literal></term>
793-
<term><literal>CREATE COLLATION digitslast (provider = icu, locale = 'en@colReorder=latn-digit');</literal></term>
792+
<term><literal>CREATE COLLATION latinlast (provider = icu, locale = 'en-u-kr-grek-latn');</literal></term>
793+
<term><literal>CREATE COLLATION latinlast (provider = icu, locale = 'en@colReorder=grek-latn');</literal></term>
794794
<listitem>
795795
<para>
796-
Sort digits after Latin letters. (The default is digits before letters.)
796+
Sort Greek letters before Latin ones. (The default is Latin before Greek.)
797797
</para>
798798
</listitem>
799799
</varlistentry>
@@ -809,9 +809,9 @@ CREATE COLLATION german (provider = libc, locale = 'de_DE');
809809
</listitem>
810810
</varlistentry>
811811

812-
<varlistentry>
813-
<term><literal>CREATE COLLATION special (provider = icu, locale = 'en-u-kf-upper-kr-latn-digit');</literal></term>
814-
<term><literal>CREATE COLLATION special (provider = icu, locale = 'en@colCaseFirst=upper;colReorder=latn-digit');</literal></term>
812+
<varlistentry>
813+
<term><literal>CREATE COLLATION special (provider = icu, locale = 'en-u-kf-upper-kr-grek-latn');</literal></term>
814+
<term><literal>CREATE COLLATION special (provider = icu, locale = 'en@colCaseFirst=upper;colReorder=grek-latn');</literal></term>
815815
<listitem>
816816
<para>
817817
Combines both of the above options.

0 commit comments

Comments
 (0)