bitmask for lock types - Mailing list pgsql-hackers

From Sumaira Ali
Subject bitmask for lock types
Date
Msg-id BAY1-F523gL6fEgO5mX000343c1@hotmail.com
Whole thread Raw
List pgsql-hackers
The way I understand it, grantMask in the LOCK struct (file Lock.h) could help us find out all the lock types already granted for an object associated with the LOCKTAG.
How do we do the bit manipulation to 'separate' the mask to get to the different lock types associated with the object that acquired those locks?
And where is the information that describes the different 'mask' for the different lock types located?
Sorry, I'm really confused here,
Thank you so much for any help,
Sumaira


Help STOP SPAM with the new MSN 8 and get 2 months FREE*

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Roadmap for FE/BE protocol redesign
Next
From: "Marc G. Fournier"
Date:
Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign