Re: regexp incompatibilites 7.3 and 7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: regexp incompatibilites 7.3 and 7.4
Дата
Msg-id 21508.1069696406@sss.pgh.pa.us
обсуждение исходный текст
Ответ на regexp incompatibilites 7.3 and 7.4  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: regexp incompatibilites 7.3 and 7.4
Список pgsql-hackers
Oleg Bartunov <oleg@sai.msu.su> writes:
> seems for regexp which works in 7.3 is failing in 7.4.
> Is't possible to configure pgsql to be compatible with 7.3 regexp ?

SET regex_flavor TO extended;

> www=# select 'problem' ~ '^\\p';
> ERROR:  invalid regular expression: invalid escape \ sequence

I think, though, that this is telling you about a bug in your
application.  You do realize that under extended regex rules there's
no difference between that pattern and '^p' ?  Is that *really* what
you want?
        regards, tom lane


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

Предыдущее
От: Kurt Roeckx
Дата:
Сообщение: Re: Using -Wshadow
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: Sponsoring enterprise features