pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: valgog <valgog@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Index usage when bitwise operator is used
Date: Mon, 17 Sep 2007 07:27:15 -0500
Message-ID: <46EE2C53.EE98.0025.0@wicourts.gov> (raw)
In-Reply-To: <1190015368.148293.56830@y42g2000hsy.googlegroups.com>
References: <f97d4e240709130530ve3cc522g61ccca23335618f4@mail.gmail.com>
	<46ED7CCD.EE98.0025.0@wicourts.gov>
	<1190015368.148293.56830@y42g2000hsy.googlegroups.com>

>>> 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
 





view thread (10+ messages)  latest in thread

Message-ID: <46EE2C53.EE98.0025.0@wicourts.gov>
Permalink:  ../46EE2C53.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/46EE2C53.EE98.0025.0@wicourts.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, valgog@gmail.com
  Subject: Re: Index usage when bitwise operator is used
  In-Reply-To: <46EE2C53.EE98.0025.0@wicourts.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox