Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Index usage when bitwise operator is used



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





Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group