Re: [HACKERS] Broken select on regular expression !!! - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Broken select on regular expression !!!
Date
Msg-id 199905210408.AAA16969@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Broken select on regular expression !!!  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [HACKERS] Broken select on regular expression !!!  (Don Baccus <dhogaza@pacifier.com>)
List pgsql-hackers
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> >> Something is rotten in the state of Denmark...
> 
> > These all oddness are caused by the parser (makeIndexable).
> 
> Ah-hah, I'm sure you're right.  That makes *two* serious bugs in
> makeIndexable.  (We still don't have an adequate solution
> for its known problem in non-C locales...)
> 
> > It seems that the only solution is checking '|' to see if it appears
> > in the target regexp and giving up the optimization in that case.
> 
> I'm feeling a strong urge to just rip out makeIndexable until
> it can be redesigned... how many other problems has it got
> that we haven't stumbled upon?

But if we rip it out, people will complain we are not using the index
for regex and LIKE.  That is a pretty serious complaint.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Current TODO list
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Broken select on regular expression !!!