Re: exclusive OR possible within a where clause? - Mailing list pgsql-general

From John R Pierce
Subject Re: exclusive OR possible within a where clause?
Date
Msg-id 4E9C7FCD.8010609@hogranch.com
Whole thread Raw
In response to Re: exclusive OR possible within a where clause?  (David Salisbury <salisbury@globe.gov>)
Responses Re: exclusive OR possible within a where clause?  (David Salisbury <salisbury@globe.gov>)
List pgsql-general
On 10/17/11 12:15 PM, David Salisbury wrote:
> <> is the same as !=, which is
> different than the fabled XOR I was hoping for.  In fact
> they would never equal.

F != F -> false
F != T -> true
T != F -> true
T != T -> false


how is that different than XOR, assuming the arguments are booleans ?


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: David Salisbury
Date:
Subject: Re: exclusive OR possible within a where clause?
Next
From: Ken Tanzer
Date:
Subject: Re: exclusive OR possible within a where clause?