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

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: BUG #2417: bug for finding string in column
Дата
Msg-id 20060503000500.GA31652@wolff.to
обсуждение исходный текст
Ответ на BUG #2417: bug for finding string in column  ("James" <james@mercstudio.com>)
Список pgsql-bugs
On Tue, May 02, 2006 at 10:34:12 +0000,
  James <james@mercstudio.com> wrote:
>
> 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.

Empty and NULL are not the same thing. NULL <> to any value evaluates
to NULL which will not satisfy a WHERE clause. This is according to the
SQL (i.e. it's not a bug).

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

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