Re: Index usage when bitwise operator is used

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "valgog" <valgog(at)gmail(dot)com>,<pgsql-performance(at)postgresql(dot)org>
Subject: Re: Index usage when bitwise operator is used
Date: 2007-09-17 12:27:15
Message-ID: 46EE2C53.EE98.0025.0@wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

>>> On Mon, Sep 17, 2007 at 2:49 AM, in message
<1190015368(dot)148293(dot)56830(at)y42g2000hsy(dot)googlegroups(dot)com>, valgog
<valgog(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Decibel! 2007-09-17 12:27:39 Re: [Again] Postgres performance problem
Previous Message Decibel! 2007-09-17 12:24:14 Re: [Again] Postgres performance problem