Re: [HACKERS] Bug in LIKE ?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] Bug in LIKE ?
Дата
Msg-id 375BDB97.2E0ABECE@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: [HACKERS] Bug in LIKE ?  (Bruce Momjian <maillist@candle.pha.pa.us>)
Ответы Re: [HACKERS] Bug in LIKE ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: new one
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] LO Problem List (Can we get one)