From: | "Daniel Verite" <daniel(at)manitou-mail(dot)org> |
---|---|
To: | arnaud(dot)perrier(at)gmail(dot)com,pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #16570: Collation not working |
Date: | 2020-08-03 17:35:50 |
Message-ID: | 23d3f3ec-5022-4535-8bd4-bb2c56456767@manitou-mail.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
PG Bug reporting form wrote:
> The collation to order digits after latin characters from the official
> documentation https://www.postgresql.org/docs/12/collation.html
>
> CREATE COLLATION digitslast (provider = icu, locale =
> 'en-u-kr-latn-digit');
The doc has this caveat:
"The examples using the k* subtags require at least ICU version 54."
Since you're using ICU 53, the syntax mentioned above for the locale
argument doesn't work. It doesn't error out, it's just being ignored.
You want to use exclusively the "old" syntax with option=value
instead of tags, for instance:
locale = 'en(at)colReorder=latn-digit',
or build with a newer ICU version.
Unfortunately the EDB builds for Windows (maybe for linux
too I didn't check) ship with ICU 53, although this version
is 6 years old.
Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: https://www.manitou-mail.org
Twitter: @DanielVerite
From | Date | Subject | |
---|---|---|---|
Next Message | Arnaud Perrier | 2020-08-04 07:15:12 | Re: BUG #16570: Collation not working |
Previous Message | Tom Lane | 2020-08-03 14:18:00 | Re: BUG #16571: "time with time zone" type can input '00:00:00+1559'::time with time zone |