From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arthur Zakirov <a.zakirov@postgrespro.ru>
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 13:17:38 -0400
Message-ID: <12522.1565630258@sss.pgh.pa.us> (raw)
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>
Arthur Zakirov <a.zakirov@postgrespro.ru> writes:
> On 12.08.2019 00:32, Tom Lane wrote:
>> 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.
Thanks for double-checking! Pushed now.
regards, tom lane
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: tgl@sss.pgh.pa.us, a.zakirov@postgrespro.ru, 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: <12522.1565630258@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> <14da273b-b451-7144-2713-0e870babf685@postgrespro.ru> <12522.1565630258@sss.pgh.pa.us>
* 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