470,614 Members | 1,458 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

LOCK.tag(figuring out granularity of lock)

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?

Jul 19 '05 #1
0 1811

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

40 posts views Thread by Harlan Messinger | last post: by
6 posts views Thread by n_o_s_p_a__m | last post: by
5 posts views Thread by SteveS | last post: by
2 posts views Thread by GSX | last post: by
reply views Thread by Jack Orenstein | last post: by
11 posts views Thread by fritzcwdev | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.