Re: relID and tupleID

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "S -" <nat_lazy(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: relID and tupleID
Date: 2003-04-19 05:49:10
Message-ID: 19867.1050731350@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"S -" <nat_lazy(at)hotmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message S - 2003-04-19 06:07:02 Re: relID and tupleID
Previous Message S - 2003-04-19 05:35:08 relID and tupleID