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

>>> On Mon, Sep 17, 2007 at  8:37 AM, in message <21403.1190036229@sss.pgh.pa.us>,
Tom Lane <tgl@sss.pgh.pa.us> wrote: 
> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
>> On Mon, Sep 17, 2007 at  2:49 AM, in message
>> <1190015368.148293.56830@y42g2000hsy.googlegroups.com>, valgog
>> <valgog@gmail.com> wrote:=20
>>> 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.
> 
> Really?  In that case, isn't this bit-field just a bad implementation of
> an enum-style field?
 
My bad.  I did misread it.  Sorry, all.
 
-Kevin
 





view thread (10+ messages)  latest in thread

Message-ID: <46EE4931.EE98.0025.0@wicourts.gov>
Permalink:  ../46EE4931.EE98.0025.0@wicourts.gov/
Also on:    postgresql.org/message-id/46EE4931.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, tgl@sss.pgh.pa.us, valgog@gmail.com
  Subject: Re: Index usage when bitwise operator is used
  In-Reply-To: <46EE4931.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