Re: UTF-8 and LIKE vs =

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: UTF-8 and LIKE vs =
Дата
Msg-id 200408232222.01447.peter_e@gmx.net
обсуждение исходный текст
Ответ на UTF-8 and LIKE vs =  (David Wheeler <david@kineticode.com>)
Ответы Re: UTF-8 and LIKE vs =  (David Wheeler <david@kineticode.com>)
Список pgsql-general
David Wheeler wrote:
> Any idea why = works here and LIKE and ~ wouldn't?

Because LIKE does a character-by-character matching and = uses the
operating system locale, which could do anything.  If you set the
locale to C, you should get matching results.  Which one is "better"
depends on the semantics of the language, which I cannot judge here.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Ben
Дата:
Сообщение: Re: Unsupported 3rd-party solutions (Was: Few questions
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Unsupported 3rd-party solutions (Was: Few questions