Re: UNIQUE not honoured for NULL

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: UNIQUE not honoured for NULL
Дата
Msg-id 40F2AC8F.7050907@pse-consulting.de
обсуждение исходный текст
Ответ на Re: UNIQUE not honoured for NULL  (Gaetano Mendola <mendola@bigfoot.com>)
Список pgsql-bugs
Gaetano Mendola wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Bruno Wolff III wrote:
>
> | On Mon, Jul 12, 2004 at 14:47:34 +0200,
> |   Gaetano Mendola <mendola@bigfoot.com> wrote:
> |
> |>As someone says NULL = NULL is false
> |
> |
> | As someone else pointed out, NULL = NULL is NULL which is not TRUE.
>
> Yes, that it's better.

Still not precise.

NULL = NULL
     is NULL (which is neither TRUE nor FALSE)

while
(NULL = NULL) IS NULL
      is TRUE...


Regards,
Andreas

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

Предыдущее
От: Gaetano Mendola
Дата:
Сообщение: Re: UNIQUE not honoured for NULL
Следующее
От: "John Madden"
Дата:
Сообщение: SSL failure, v7.3.6