Re: Odd behavior with NULL value

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Odd behavior with NULL value
Дата
Msg-id 20011220190935.A16538@wolff.to
обсуждение исходный текст
Ответ на Odd behavior with NULL value  (bsmith@h-e.com (Bob Smith, Hammett & Edison, Inc.))
Ответы Re: Odd behavior with NULL value  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-admin
On Thu, Dec 20, 2001 at 04:24:33PM -0800,
  "Bob Smith, Hammett & Edison, Inc." <bsmith@h-e.com> wrote:
> See example below of using NULL values with type DATE.  It behaves
> strangely in expressions, "(x <> null)" gives an entirely different
> result than "not(x = null)".  Is this intended behavior, if so, why?
> If not, is this a bug?

There is a hack which will be off by default in 7.2 that changes
'x = null' into 'x is null' for compatibility with sqlserver.

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

Предыдущее
От: bsmith@h-e.com (Bob Smith, Hammett & Edison, Inc.)
Дата:
Сообщение: Odd behavior with NULL value
Следующее
От: Phill Kenoyer
Дата:
Сообщение: Re: Odd behavior with NULL value