regexp incompatibilites 7.3 and 7.4 - Mailing list pgsql-hackers

From Oleg Bartunov
Subject regexp incompatibilites 7.3 and 7.4
Date
Msg-id Pine.GSO.4.58.0311242034130.25164@ra.sai.msu.su
Whole thread Raw
Responses Re: regexp incompatibilites 7.3 and 7.4
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: CVS HEAD is broken
Next
From: Tom Lane
Date:
Subject: Re: Using -Wshadow