Re: Postgres 12: backend crashes when creating non-deterministic collation

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Thomas Kellerer <spam_eater(at)gmx(dot)net>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation
Date: 2019-10-04 14:04:17
Message-ID: 9ad3c92eb92c39c1256f151ff553110f9928fadf.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thomas Kellerer wrote:
> I was trying to learn how the new non-deterministic collations in v12
> work, but the following makes the backend crash:
>
> CREATE COLLATION de_ci (provider = icu, locale = 'de-x-icu',
> deterministic = false);
>
> Which leads to:
>
> 2019-10-04 11:54:23 CEST LOG: server process (PID 7540) was
> terminated by exception 0xC0000005
>
> I might have misunderstood how to use deterministic to create a case-
> insensitive collation, but I don't think the backend should crash if
> I do something wrong ;)

Yes, there is a bug somewhere. FWIW, it works on my Linux system.

To get a case insensitive collation you'd have to use something like

LOCALE = 'de-DE-u-ks-level2'

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2019-10-04 14:06:33 Re: Clarification on the release notes of postgresql 12 regarding pg_upgrade
Previous Message Tom Lane 2019-10-04 13:35:05 Re: BitmapAnd on correlated column?