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

From Sumaira Maqsood Ali
Subject OffsetNumber offnum (LOCKTAG in lock.c)
Date
Msg-id 3F5692AE.3070608@purdue.edu
Whole thread Raw
List pgsql-docs
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-docs by date:

Previous
From: "Dave Page"
Date:
Subject: Re: [pgsql-www] German FAQ update
Next
From: Ian Barwick
Date:
Subject: Re: [pgsql-www] German FAQ update