LOCK.tag(figuring out granularity of lock)

From: Sumaira Maqsood Ali <sali(at)purdue(dot)edu>
To: pgsql-docs(at)postgresql(dot)org
Subject: LOCK.tag(figuring out granularity of lock)
Date: 2003-08-24 22:28:45
Message-ID: 3F493C1D.3090607@purdue.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

following is taken from postgresql-7.3.2/src/backend/storage/lmgr/readme:

"If we are setting a table level lock
both the blockId and tupleId (in an item pointer this is called
the position) are set to invalid, if it is a page level lock the
blockId is valid, while the tupleId is still invalid. Finally if
this is a tuple level lock (we currently never do this) then both
the blockId and tupleId are set to valid specifications. "

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

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2003-08-25 14:43:07 Re: read commited
Previous Message pgman 2003-08-22 10:11:07 Re: Your application