Re: BUG #15892: URGENT: Using an ICU collation in a primary keycolumn breaks ILIKE query

Поиск
Список
Период
Сортировка
От Arthur Zakirov
Тема Re: BUG #15892: URGENT: Using an ICU collation in a primary keycolumn breaks ILIKE query
Дата
Msg-id 94c64652-81f6-63b9-b86c-bfc23d5d41d9@postgrespro.ru
обсуждение исходный текст
Ответ на Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: BUG #15892: URGENT: Using an ICU collation in a primary key column breaks ILIKE query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Manuel Rigger
Дата:
Сообщение: Re: ALTER TABLE results in "ERROR: could not open relation with OID 43707388"
Следующее
От: Juan José Santamaría Flecha
Дата:
Сообщение: Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows