Re: BUG #15892: URGENT: Using an ICU collation in a primary keycolumn breaks ILIKE query - Mailing list pgsql-bugs

From Arthur Zakirov
Subject Re: BUG #15892: URGENT: Using an ICU collation in a primary keycolumn breaks ILIKE query
Date
Msg-id 94c64652-81f6-63b9-b86c-bfc23d5d41d9@postgrespro.ru
Whole thread Raw
In response to Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On 04.07.2019 19:50, Daniel Verite wrote:
> Yes. It is because of the index that the code checks if the ILIKE
> can be evaluated with an index lookup. Otherwise it doesn't.
> 
> If you feel like recompiling with a temporary fix against v11.4 to do
> your own tests, please try the attached patch.

Also this patch works. I thinks we need to use some ICU function to 
check whether a char is a letter.

-- 
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

Attachment

pgsql-bugs by date:

Previous
From: Manuel Rigger
Date:
Subject: Re: ALTER TABLE results in "ERROR: could not open relation with OID 43707388"
Next
From: Juan José Santamaría Flecha
Date:
Subject: Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows