From: Arthur Zakirov <a.zakirov@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Daniel Verite <daniel@manitou-mail.org>
Cc: James Inform <james.inform@pharmapp.de>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query
Date: Mon, 12 Aug 2019 12:12:13 +0300
Message-ID: <14da273b-b451-7144-2713-0e870babf685@postgrespro.ru> (raw)
In-Reply-To: <8498.1565559169@sss.pgh.pa.us>
References: <8be770db-3fd9-428a-968e-333fc67a50db@manitou-mail.org>
<94c64652-81f6-63b9-b86c-bfc23d5d41d9@postgrespro.ru>
<8498.1565559169@sss.pgh.pa.us>
On 12.08.2019 00:32, Tom Lane wrote:
> This topic seems to have slipped through the cracks, which is too bad
> because we surely could have gotten it fixed in time for last week's
> releases. Oh well.
It is true. Also July commitfest had started by that time and it wasn't
possible to add a new entry.
> I think Daniel's patch leaves more on the table than it needs to,
> and I don't like Arthur's patch because it's assuming more than it
> should about whether it's okay to pass a "char" to u_isalpha().
> I propose that we do things as attached, instead.
Yeah, u_isalpha() wasn't such good idea here. BTW Daniel already
mentioned it above.
With the patch regression tests pass for me and James test case works
fine as expected.
--
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
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-bugs@postgresql.org
Cc: a.zakirov@postgrespro.ru, tgl@sss.pgh.pa.us, daniel@manitou-mail.org, james.inform@pharmapp.de, peter.eisentraut@2ndquadrant.com
Subject: Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query
In-Reply-To: <14da273b-b451-7144-2713-0e870babf685@postgrespro.ru>
References: <8be770db-3fd9-428a-968e-333fc67a50db@manitou-mail.org> <94c64652-81f6-63b9-b86c-bfc23d5d41d9@postgrespro.ru> <8498.1565559169@sss.pgh.pa.us> <14da273b-b451-7144-2713-0e870babf685@postgrespro.ru>
* 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