From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Mark Butler <butlerm@middle.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Inheritance Semantics
Date: Mon, 9 Apr 2001 23:00:57 -0400 (EDT)
Message-ID: <200104100300.XAA08743@candle.pha.pa.us> (raw)
In-Reply-To: <3AD2691C.35AD23F3@middle.net>
> Could someone (Chris Mead?) post an update on the status of fixing
> PostgreSQL's inheritance semantics in the following ways:
>
> Has a decision been made to implementing true inheritance via INHERITS or an
> alternative keyword?
>
> By true inheritance, I mean first and foremost that any query on a super-class
> should query *all members* of that class by default regardless of which table
> they are stored in. Any other behavior violates the very natural expectation
> that a table called "PERSON" actually implements the class of all persons.
>
7.1 does that already.
> Second, for performance reasons, there needs to be a way for an index on a
> parent class attribute to be shared by all the tables that implement or
> inherit from that parent class. This is also necessary to enforce unique
> constraints on all members of a class.
That is on the TODO list, so I think we want it to happen.
--
Bruce Momjian | http://candle.pha.pa.us
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, butlerm@middle.net
Subject: Re: Inheritance Semantics
In-Reply-To: <200104100300.XAA08743@candle.pha.pa.us>
References: <3AD2691C.35AD23F3@middle.net> <200104100300.XAA08743@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox