Re: LIKE predicate and '\' character

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LIKE predicate and '\' character
Дата
Msg-id 5173.1005153696@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LIKE predicate and '\' character  ("Andy Hallam" <ahm@exel.co.uk>)
Список pgsql-hackers
"Andy Hallam" <ahm@exel.co.uk> writes:
> BUT, if I use the LIKE predicate I have to escape the escape.
> Now this must be treated as a bug.

It's not a bug, it's the defined behavior of LIKE.  See
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/functions-matching.html#FUNCTIONS-LIKE

You might find it more convenient to select a different escape
character for LIKE.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Status of 7.2
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: LIKE predicate and '\' character