Re: BUG #2417: bug for finding string in column

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: BUG #2417: bug for finding string in column
Дата
Msg-id 20060502151240.B86001@megazone.bigpanda.com
обсуждение исходный текст
Ответ на BUG #2417: bug for finding string in column  ("James" <james@mercstudio.com>)
Список pgsql-bugs
On Tue, 2 May 2006, James wrote:

>
> The following bug has been logged online:
>
> Bug reference:      2417
> Logged by:          James
> Email address:      james@mercstudio.com
> PostgreSQL version: 8.1
> Operating system:   Microsoft Windows XP Professional
> Description:        bug for finding string in column
> Details:
>
> hi,
>
> i've encounter bug where when a field is empty / null (type varchar(255) ),
> when i use the sql query <> 'myvalue', it seems to be false all the time.

If it's null, it's actually returning unknown (not true or false) and
as far as we know that's not a bug because that's how SQL defines the
comparison operators.

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

Предыдущее
От: "James"
Дата:
Сообщение: BUG #2418: number & date & time
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: BUG #2417: bug for finding string in column