OffsetNumber offnum (LOCKTAG in lock.c) - Mailing list pgsql-patches

From Sumaira Maqsood Ali
Subject OffsetNumber offnum (LOCKTAG in lock.c)
Date
Msg-id 3F5692C9.2000100@purdue.edu
Whole thread Raw
List pgsql-patches
the offnum of LOCKTAG I gather indicates which row (tuple) is being
locked in a row level locking. But when I lock 2 diffrent rows of a
table, offset for both is 0. and also offset is 0 if i take a table lock
on the same table. (blkno is the same for all three locks)..shouldnt the
OffsetNumber offnum be different for each individual row lociked? if
not, then what field of LOCKTAG recognizes each individual row (tuple)
locked?
thanks!


pgsql-patches by date:

Previous
From: Janko Richter
Date:
Subject: PgSQL74b2: initdb fails (max_connections)
Next
From: "Mirko Tebaldi"
Date:
Subject: Fw: New translation