
Iam trying to figure out what value relID holds in postgresql. relID is 
present is struct LOCKTAG in LOCK.h.
And also, in src/backend/storage/lmgr/readme mentions  'tupleID", I can't 
find what tupleID represents and where its present in posgresql code
Thanks
-sumaira




_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


Fri, 18 Apr 2003 22:35:08 -0700
"S -" <nat_lazy@hotmail.com>
relID and tupleID
"S -" <nat_lazy@hotmail.com> writes:
> Iam trying to figure out what value relID holds in postgresql. relID is 
> present is struct LOCKTAG in LOCK.h.

pg_class OID of a table.

> And also, in src/backend/storage/lmgr/readme mentions  'tupleID", I can't 
> find what tupleID represents and where its present in posgresql code

Looks like someone separated tupleid into page number (objId.blkno) and
item number (offnum) to avoid having alignment padding inside the LOCKTAG
struct.

			regards, tom lane


Sat, 19 Apr 2003 01:49:10 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: relID and tupleID 