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

From: Chris <chris(at)bitmead(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgreSQL(dot)org, pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Date: 2000-02-03 12:28:31
Message-ID: 3899746F.9869F4D8@bitmead.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

Bruce Momjian wrote:

> > 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.

I don't know. Does it?

>Could you do that for relhassubclass?

If we made it relnumsubclasses and incremented/decremented on
CREATE/DROP, it seems easy in theory.

--
Chris Bitmead
mailto:chris(at)bitmead(dot)com
http://www.techphoto.org - Photography News, Stuff that Matters

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2000-02-03 12:37:42 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Previous Message Bruce Momjian 2000-02-03 12:13:36 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-02-03 12:37:42 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Previous Message Bruce Momjian 2000-02-03 12:22:11 Re: [HACKERS] SELECT FOR UPDATE leaks relation refcounts

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2000-02-03 12:37:42 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Previous Message Bruce Momjian 2000-02-03 12:13:36 Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL