Re: Inherited indexes. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Inherited indexes.
Date
Msg-id 8354.1128438349@sss.pgh.pa.us
Whole thread Raw
In response to Re: Inherited indexes.  ("Jim C. Nasby" <jnasby@pervasive.com>)
Responses Re: Inherited indexes.
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:
> On Sun, Oct 02, 2005 at 09:46:07PM -0400, Tom Lane wrote:
>> 1. A cross-table index would need to store a table OID as well as the
>> existing block/offset information in order to tell you what an entry is
>> pointing at.

> Wouldn't it make more sense to use a smaller pointer to a table of OIDs
> that that index covers?

Smaller than what?  Don't tell me you want to restrict how many tables a
cross-table index can handle :-(

In any case, the gain from doing that would be exactly zero because of
alignment considerations: the size of an index tuple header really has
to be a multiple of MAXALIGN.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum and Transactions
Next
From: "Zeugswetter Andreas DAZ SD"
Date:
Subject: Re: Inherited indexes.