Re: why the need for is null? - Mailing list pgsql-general

From Tom Lane
Subject Re: why the need for is null?
Date
Msg-id 1738.1073003036@sss.pgh.pa.us
Whole thread Raw
In response to Re: why the need for is null?  (Mark Kirkwood <markir@paradise.net.nz>)
Responses Re: why the need for is null?
List pgsql-general
Mark Kirkwood <markir@paradise.net.nz> writes:
> The relational model was designed using a 3 valued logic - true, false,null.
> All relational database implementations will inflict this on you :-)

Not sure that it's fair to characterize this as a property of the
relational model.  It is a property of the SQL standard.  There are
many purists who say that SQL is not really relational at all (Chris
Date being one of the more prominent ones, IIRC), but in any case,
SQL drew three-valued logic from other sources than the relational
model of databases.

However, it is true that all spec-conforming implementations of SQL
will inflict this on you.  MS SQL Server, for one, has apparently been
non-compliant on this point in the past, and I'm not too sure about
Oracle.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: why the need for is null?
Next
From: Mark Kirkwood
Date:
Subject: Re: why the need for is null?