X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 53FC1D1B912 for ; Sun, 24 Aug 2003 19:51:51 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 83376-08 for ; Sun, 24 Aug 2003 19:51:33 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id 4639BD1B8AC for ; Sun, 24 Aug 2003 19:51:31 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h7OMpUek047994 for ; Sun, 24 Aug 2003 22:51:30 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h7OMUEwr045611 for pgsql-docs@postgresql.org; Sun, 24 Aug 2003 22:30:14 GMT From: Sumaira Maqsood Ali X-Newsgroups: comp.databases.postgresql.docs Subject: LOCK.tag(figuring out granularity of lock) Date: Sun, 24 Aug 2003 17:28:45 -0500 Organization: Purdue University Lines: 14 Message-ID: <3F493C1D.3090607@purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: news@news.purdue.edu User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (CK-PURDUE) X-Accept-Language: en-us, en To: pgsql-docs@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/69 X-Sequence-Number: 1929 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