Re: LOCK.tag(figuring out granularity of lock)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jenny -" <nat_lazy(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: LOCK.tag(figuring out granularity of lock)
Date: 2003-08-08 00:19:06
Message-ID: 12104.1060301946@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Jenny -" <nat_lazy(at)hotmail(dot)com> writes:
> how do we check whether blockId and tupleId of LOCK.tag are valid or
> invalid?

Look at how LockRelation and LockPage (in
src/backend/storage/lmgr/lmgr.c) set up the tags --- it might be clearer
then.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2003-08-08 00:33:41 threads/UnixWare
Previous Message Gaetano Mendola 2003-08-08 00:03:41 7.4beta compile warning