Re: [HACKERS] Bug in LIKE ?

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniele Orlandi <daniele(at)orlandi(dot)com>, The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] Bug in LIKE ?
Date: 1999-06-07 14:47:51
Message-ID: 375BDB97.2E0ABECE@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-06-07 14:49:09 Re: [HACKERS] LO Problem List (Can we get one)
Previous Message Vadim Mikheev 1999-06-07 14:43:49 new one