Re: Inheritance - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Inheritance
Date
Msg-id GNELIHDDFBOCMGBFGEFOAELBCDAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: Inheritance  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Inheritance
List pgsql-hackers
> Right.  Instead of talking in circles, let's figure out how to do it.
> If the issue is only sequence numbers, can we force a column to _only_
> get values from the sequence counter, thereby makeing the index span
> unnecessary?  Can't we look up stuff in parent/child index to check for
> collisions before we add a row?  Doesn't seem too hard to me.

Is it theoretically possible to add support to btree for storing table along
with the indexed value?  This would obviously add overhead, so it would only
be done for spanning indexes.  The index would also take up more space on
disk I guess.

When a new inherited table is created, all parent indices would be dropped
and recreated as spanning indices and vice versa.

Chris



pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Open 7.3 items
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: tsearch vs. fulltextindex