LOCK.tag(figuring out granularity of lock) - Mailing list pgsql-hackers

From Jenny -
Subject LOCK.tag(figuring out granularity of lock)
Date
Msg-id BAY1-F90bzpTtncIixr00008035@hotmail.com
Whole thread Raw
List pgsql-hackers
following is taken from postgresql-7.3.2/src/backend/storage/lmgr/readme:

"If we are setting a table level lockboth the blockId and tupleId (in an item pointer this is calledthe position) are
setto invalid, if it is a page level lock theblockId is valid, while the tupleId is still invalid.  Finally ifthis is a
tuplelevel lock (we currently never do this) then boththe blockId and tupleId are set to valid specifications.  "
 


is blockId same as tag.objId.blkno?  what field in LOCK.tag is tupleId?
thanks
jenny

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls.  
http://join.msn.com/?page=features/parental



pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: I am back
Next
From: Bruce Momjian
Date:
Subject: Re: I am back