Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Chris <chris@bitmead.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgreSQL.org, pgsql-sql@postgreSQL.org
Date: 2000-02-03T12:13:36Z
Lists: pgsql-hackers
> 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, Pennsylvania 19026