From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation
Date: Fri, 4 Oct 2019 19:00:36 +0200
Message-ID: <766457be-2ac6-1edf-cb8d-3525c7c47f22@gmx.net> (raw)
In-Reply-To: <60e84145-3db4-4fdf-ad25-b310128e9d54@manitou-mail.org>
References: <ac33f189-2bcd-3be6-1dee-cb44c34ddb20@gmx.net>
<60e84145-3db4-4fdf-ad25-b310128e9d54@manitou-mail.org>
Daniel Verite schrieb am 04.10.2019 um 18:49:
>> Creating works, but apparently on Windows ICU does not support this.
>
> After installing v12 on windows with the EDB installer, I notice
> that it ships with ICU 53, a relatively old version (2014).
>
> Concerning the problem just above (not the crash), ICU 53 is too old
> to support BCP47 tags as collation attributes, as mentioned
> at https://www.postgresql.org/docs/12/collation.html :
>
> "The first example selects the ICU locale using a “language tag” per
> BCP 47. The second example uses the traditional ICU-specific locale
> syntax. The first style is preferred going forward, but it is not
> supported by older ICU versions.
>
> With ICU 53 or older, instead of the locale above, we must use the
> old-style syntax:
>
> locale = 'de-DE@colStrength=secondary'
>
> If you use that in your example, the case insensitive lookups should
> work.
That indeed works, thanks a lot.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: spam_eater@gmx.net
Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation
In-Reply-To: <766457be-2ac6-1edf-cb8d-3525c7c47f22@gmx.net>
References: <ac33f189-2bcd-3be6-1dee-cb44c34ddb20@gmx.net> <60e84145-3db4-4fdf-ad25-b310128e9d54@manitou-mail.org> <766457be-2ac6-1edf-cb8d-3525c7c47f22@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox