Re: [HACKERS] Bug in LIKE ? - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: [HACKERS] Bug in LIKE ?
Date
Msg-id 375BDB97.2E0ABECE@alumni.caltech.edu
Whole thread Raw
In response to Re: [HACKERS] Bug in LIKE ?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] Bug in LIKE ?
List pgsql-hackers
> > > Uhm.... I think the problem is a little worse:
> > It's a real bug, and I see the problem: someone changed 
> > the handling of LIKE prefixes in gram.y,
> > Unless we fix this, LIKE will be completely busted for 
> > any string containing non-leading %.  Shall I ... ?
> Yes, please.  It was me that introduced the bug.

How about adding some regression test queries to catch this kind of
thing? Looks like we don't have *anything* in this area at all except
for tests in the multi-byte string handling, from Tatsuo.
                   - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


pgsql-hackers by date:

Previous
From: Vadim Mikheev
Date:
Subject: new one
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] LO Problem List (Can we get one)