Re: [HACKERS] I don't like LIKE

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] I don't like LIKE
Дата
Msg-id 199906081708.NAA26802@candle.pha.pa.us
обсуждение исходный текст
Ответ на I don't like LIKE  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> There seems to be a problem with MakeIndexable(), though I haven't
> confirmed that the problem lies there:
> 
> postgres=> select * from t1 where i like '2';
> ERROR:  pg_atoi: error in "2_": can't parse "_"
> 
> istm that this query should behave itself, or at least fail in some
> other way :(
> 
> I'll guess that, even though there isn't a wildcard to pattern match,
> MakeIndexable() is adding a trailing \377 to the string?

Please post example.  Works here:select * from pg_class where rename like '2';

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Don Baccus
Дата:
Сообщение: Re: [HACKERS] 6.6 items
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] 6.6 items