| 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: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
| Subject: | Re: [HACKERS] Re: [COMMITTERS] 'pgsql/src/backend/parser gram.y' |
| Date: | 1999-06-07 17:58:06 |
| Message-ID: | 199906071758.NAA11869@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > DoMatch, which implements LIKE clearly thinks %% is %,
>
> Careful: DoMatch thinks %% is a wildcard (ie, same as %), not literal %.
>
> It's hard to say what our users think. If you'd written %% it would
> indeed match a % --- but you'd have a problem with it matching other
> stuff too. This might or might not be partially masked by the range
> conditions inserted by the parser. (But how long have we been doing
> that?)
Sorry. I see now. I was confused.
--
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 1999-06-07 17:59:08 | Re: [HACKERS] Bug in LIKE ? |
| Previous Message | Ole Gjerde | 1999-06-07 17:33:58 | Re: [HACKERS] Open 6.5 items |