Re: [HACKERS] Broken select on regular expression !!!

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: t-ishii(at)sra(dot)co(dot)jp, Constantin Teodorescu <teo(at)flex(dot)ro>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Broken select on regular expression !!!
Date: 1999-05-21 04:08:53
Message-ID: 199905210408.AAA16969@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-05-21 04:39:55 Re: [HACKERS] Broken select on regular expression !!!
Previous Message Bruce Momjian 1999-05-21 03:21:50 Re: [HACKERS] Broken select on regular expression !!!