Re: Bug in LIKE operator processing

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in LIKE operator processing
Дата
Msg-id 4483.1043793422@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug in LIKE operator processing  (Żak, Sławomir <SZak@era.pl>)
Список pgsql-bugs
Żak, Sławomir <SZak@era.pl> writes:
> I've found that statement:
>     SELECT * FROM os WHERE 'FreeBSD 4.7-RC'
>         LIKE string_id; (one of string_id's is 'FreeBSD 4.7%')
> doesn't work. No error is reported. It does work in Oracle,

It'd probably work in Postgres too, if you'd used varchar(n) rather than
char(n) for string_id.  As is, the trailing spaces in string_id are
considered significant.
        regards, tom lane


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Bug in LIKE operator processing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: No migration path for MONEY