regcomp problems

Romolo Manfredini <romolo@bicnet.it>

From: "Romolo Manfredini" <romolo@bicnet.it>
To: <pgsql-bugs@postgresql.org>
Date: 2001-03-21T14:58:58Z
Lists: pgsql-bugs
Dear postgresql developers,
I have found a small annoying bug in the SQL parser,

executing the following query;

select * from table where field ~* '*';

or 

select * from table where field ~* '+';

generate the following error:

regcomp failed with error repetition-operator operand invalid 

the postgres I'm using is 7.0.3 compiled on linux 2.2.18

Best regards,
Romolo Manfredini