public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jack Douglas <[email protected]>
To: [email protected]
Subject: boolean states
Date: Wed, 27 Apr 2011 09:46:27 +0100
Message-ID: <[email protected]> (raw)

Hi

http://www.postgresql.org/docs/current/static/datatype-boolean.html states:

         The boolean type can have one of only two states: "true" or 
"false". A third state, "unknown", is represented by the SQL null value.

This sounds like an oxymoron to me. Perhaps that sentence should be 
changed to:

         The boolean type can have one of three states: "true" or 
"false" and "unknown". The third state, "unknown", is represented by the 
SQL null value.
or:

         The boolean type can have one of three states: "true" or 
"false" and null. The third state, null, represents the logical value 
"unknown".

Best regards
Jack Douglas




view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: boolean states
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox