Re: UNIQUE not honoured for NULL - Mailing list pgsql-bugs

From Andreas Pflug
Subject Re: UNIQUE not honoured for NULL
Date
Msg-id 40F2AC8F.7050907@pse-consulting.de
Whole thread Raw
In response to Re: UNIQUE not honoured for NULL  (Gaetano Mendola <mendola@bigfoot.com>)
List 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 by date:

Previous
From: Gaetano Mendola
Date:
Subject: Re: UNIQUE not honoured for NULL
Next
From: "John Madden"
Date:
Subject: SSL failure, v7.3.6