Re: When is a record NULL? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: When is a record NULL?
Date
Msg-id 14776.1248390508@sss.pgh.pa.us
Whole thread Raw
In response to When is a record NULL?  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: When is a record NULL?
List pgsql-hackers
"David E. Wheeler" <david@kineticode.com> writes:
> How can a record be neither NULL or NOT NULL?

This is per SQL standard.  IS NULL is true if *all* the record's
fields are null; IS NOT NULL is true if *none* of them are.

Yeah, it's a bit dubious, but that's what they said.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: join regression failure on cygwin
Next
From: "David E. Wheeler"
Date:
Subject: Re: When is a record NULL?