Re: exclusive OR possible within a where clause?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: exclusive OR possible within a where clause?
Date: 2011-10-17 19:19:41
Message-ID: 4E9C7FCD.8010609@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ken Tanzer 2011-10-17 19:21:26 Re: exclusive OR possible within a where clause?
Previous Message David Salisbury 2011-10-17 19:15:12 Re: exclusive OR possible within a where clause?