Re: Index usage when bitwise operator is used - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: Index usage when bitwise operator is used
Date
Msg-id 46EE2C53.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Re: Index usage when bitwise operator is used  (valgog <valgog@gmail.com>)
Responses Re: Index usage when bitwise operator is used
List pgsql-performance
>>> On Mon, Sep 17, 2007 at  2:49 AM, in message
<1190015368.148293.56830@y42g2000hsy.googlegroups.com>, valgog
<valgog@gmail.com> wrote:

>> What about saying?:
>>
>>   TBL1.CATEGORY = TBL2.CATEGORY
>>
>
> Are you sure you understood what was the question?
>
> Is the TBL1.CATEGORY = TBL2.CATEGORY the same as TBL1.CATEGORY &
> TBL2.CATEGORY > 0?

Yes, given that he stipulated that one and only one bit would be set.

-Kevin




pgsql-performance by date:

Previous
From: Decibel!
Date:
Subject: Re: [Again] Postgres performance problem
Next
From: Decibel!
Date:
Subject: Re: [Again] Postgres performance problem