Re: bit|varbit #, xor operator - Mailing list pgsql-hackers

From Tom Lane
Subject Re: bit|varbit #, xor operator
Date
Msg-id 31607.1476721755@sss.pgh.pa.us
Whole thread Raw
In response to Re: bit|varbit #, xor operator  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: bit|varbit #, xor operator  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
Jim Nasby <Jim.Nasby@bluetreble.com> writes:
> On 10/16/16 3:13 PM, Tom Lane wrote:
>>> Related to this I'd also like to add a boolean XOR operator as that's a
>>> relatively common request/question.

>> We have boolean XOR; it's spelled "<>".

> I always forget about that...

Maybe it should be mentioned explicitly in the docs.

> though, it doesn't work for boolean arrays.

Define doesn't work?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: bit|varbit #, xor operator
Next
From: Heikki Linnakangas
Date:
Subject: Re: [COMMITTERS] pgsql: Replace PostmasterRandom() with a stronger way of generating ran