BUG: ERROR: regcomp failed with error empty (sub)expression - Mailing list pgsql-hackers

From Oleg Bartunov
Subject BUG: ERROR: regcomp failed with error empty (sub)expression
Date
Msg-id Pine.GSO.3.96.SK.990612054000.774C-100000@ra
Whole thread Raw
List pgsql-hackers
What does this error message means ?

I did a query:
discovery=>  select a.msg_id,b.key_id into qq   from publications  a, keywords b where a.title ~* b.name and b.key_id
in( select key_id from keywords);
 
ERROR:  regcomp failed with error empty (sub)expression

I found what's the problem:

in a.title ~* b.name b.name = '' (NOT NULL)

discovery=> select * from keywords where key_id=449;
key_id|name
------+----  449|    
(1 row)


I consider this as a bug in regcomp code. rexx, perl match empty string ! 

This happens with slightly outdated (week ago) 6.5 cvs
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: [HACKERS] another locale problem
Next
From: "D'Arcy" "J.M." Cain
Date:
Subject: Re: [HACKERS] "DML"