diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2020-09-10 15:31:09 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2020-09-10 15:36:15 +0200 |
commit | 697c8e620443ca15b834f46e66d682dc9ce5c191 (patch) | |
tree | 8b29223d1872a556455766672108f2597d58494f | |
parent | 059872cea147617f688d314664df99d73a9c407e (diff) | |
download | postgresql-697c8e620443ca15b834f46e66d682dc9ce5c191.tar.gz postgresql-697c8e620443ca15b834f46e66d682dc9ce5c191.zip |
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
-rw-r--r-- | doc/src/sgml/charset.sgml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/sgml/charset.sgml b/doc/src/sgml/charset.sgml index 4c6fa708797..70b45f494ef 100644 --- a/doc/src/sgml/charset.sgml +++ b/doc/src/sgml/charset.sgml @@ -789,11 +789,11 @@ CREATE COLLATION german (provider = libc, locale = 'de_DE'); </varlistentry> <varlistentry> - <term><literal>CREATE COLLATION digitslast (provider = icu, locale = 'en-u-kr-latn-digit');</literal></term> - <term><literal>CREATE COLLATION digitslast (provider = icu, locale = 'en@colReorder=latn-digit');</literal></term> + <term><literal>CREATE COLLATION latinlast (provider = icu, locale = 'en-u-kr-grek-latn');</literal></term> + <term><literal>CREATE COLLATION latinlast (provider = icu, locale = 'en@colReorder=grek-latn');</literal></term> <listitem> <para> - Sort digits after Latin letters. (The default is digits before letters.) + Sort Greek letters before Latin ones. (The default is Latin before Greek.) </para> </listitem> </varlistentry> @@ -809,9 +809,9 @@ CREATE COLLATION german (provider = libc, locale = 'de_DE'); </listitem> </varlistentry> - <varlistentry> - <term><literal>CREATE COLLATION special (provider = icu, locale = 'en-u-kf-upper-kr-latn-digit');</literal></term> - <term><literal>CREATE COLLATION special (provider = icu, locale = 'en@colCaseFirst=upper;colReorder=latn-digit');</literal></term> + <varlistentry> + <term><literal>CREATE COLLATION special (provider = icu, locale = 'en-u-kf-upper-kr-grek-latn');</literal></term> + <term><literal>CREATE COLLATION special (provider = icu, locale = 'en@colCaseFirst=upper;colReorder=grek-latn');</literal></term> <listitem> <para> Combines both of the above options. |