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

LOCK.tag( granuarity oflocks)

From: Sumaira Maqsood Ali <sali(at)purdue(dot)edu>
To: pgsql-bugs(at)postgresql(dot)org
Subject: LOCK.tag( granuarity oflocks)
Date: 2003-08-25 14:57:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
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?

pgsql-bugs by date

Next:From: Stephan SzaboDate: 2003-08-25 15:52:34
Subject: Re: index not used afer VACUUM ANALYZE
Previous:From: mikeDate: 2003-08-25 10:14:04
Subject: Re: index not used afer VACUUM ANALYZE

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group