Re: Support LIKE with nondeterministic collations

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Support LIKE with nondeterministic collations
Дата
Msg-id b0ff0233-b9e2-48ef-ac27-f69bca73f8f4@eisentraut.org
обсуждение исходный текст
Ответ на Re: Support LIKE with nondeterministic collations  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: Support LIKE with nondeterministic collations
Список pgsql-hackers
On 30.04.24 14:39, Daniel Verite wrote:
>    postgres=# SELECT '.foo.' like '_oo' COLLATE ign_punct;
>     ?column?
>    ----------
>     f
>    (1 row)
> 
> The first two results look fine, but the next one is inconsistent.

This is correct, because '_' means "any single character".  This is 
independent of the collation.

I think with nondeterministic collations, the single-character wildcard 
is often not going to be all that useful.




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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: EXPLAN redundant options
Следующее
От: "Euler Taveira"
Дата:
Сообщение: Re: EXPLAN redundant options