Uh, were are we on this? Is it a TODO? ---------------------------------------------------------------------------
On Wed, Jul 3, 2013 at 01:39:28PM +0530, Atri Sharma wrote: > Hi all, > > I have been working on a patch for the above discussed > functionalities. I made an array of int32s, one for each bucket in a > hash table(the array is per hash table). > > I am using the hash value directly to set the corresponding bit in the > bit field.Specifically: > > bitfield_orvalue = 1<<hashvalue; > hashtable->bitFields[bucketNumber] = > (hashtable->bitFields[bucketNumber]) |bitfield_orvalue; > > But,the hash values are way beyond this, and I admit that my choice of > int32 as bitfield isn't correct here. > > The hash values are like: > > 1359910425 > 1359910425 > -1662820951 > -1662820951 > > What should I be using for the bit map? > > Regards, > > Atri > > -- > Regards, > > Atri > l'apprenant > > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers