regexp incompatibilites 7.3 and 7.4

Поиск
Список
Период
Сортировка
От Oleg Bartunov
Тема regexp incompatibilites 7.3 and 7.4
Дата
Msg-id Pine.GSO.4.58.0311242034130.25164@ra.sai.msu.su
обсуждение исходный текст
Ответы Re: regexp incompatibilites 7.3 and 7.4
Список pgsql-hackers
Hi,

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 ?

Welcome to psql 7.3.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms      \h for help with SQL commands      \? for help on internal slash commands
    \g or terminate with semicolon to execute query      \q to quit
 

discovery=#  select 'problem' ~ '^\\p';?column?
----------t
(1 row)


Welcome to psql 7.4, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms      \h for help with SQL commands      \? for help on internal slash commands
    \g or terminate with semicolon to execute query      \q to quit
 

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

Regards,    Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CVS HEAD is broken
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Using -Wshadow