> Tom Lane wrote:
>
> > I'll comment on the other issues later ... but I will say that I don't
> > think it's acceptable to add *any* overhead to standard-SQL queries
> > in order to support inheritance better. The vast majority of our users
> > want SQL performance and don't give a damn about inheritance. We have
> > to pay attention to that.
>
> Well I see that pg_class has columns like "relhasindex". If we added a
> "relhassubclass", the overhead should be unmeasureable.
Yes, but how do you keep that accurate? If I add indexes, then drop
them, does relhasindex go to false. Could you do that for relhassubclass?
-- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026