Re: About inheritance - Mailing list pgsql-advocacy

From elein
Subject Re: About inheritance
Date
Msg-id 20040629160501.N30062@cookie.varlena.com
Whole thread Raw
In response to About inheritance  (Diogo Biazus <diogob@gmail.com>)
List pgsql-advocacy
You will get differing opinions from each and every person
you ask about this.

There are fairly simple ways to work around the fact the
the constraints and indexes are not shared and in *some*
cases (probably the reason for unshared indexes) the
fact that the indexes are not shared is a good thing.

Row inheritance is only one aspect of inheritance in
general.  Domains are another.

The way to answer any questions is to understand the underlying
problem being solved.

Table inheritance is often used to save typing by creating
a template table class.  That is its most common usage.

Most other things done via table inheritance can also be done
via pure relational techniques.

--elein

On Tue, Jun 29, 2004 at 10:31:53PM +0000, Diogo Biazus wrote:
> Hi,
>
> I've been talking a lot about PostgreSQL, and from time to time I get
> some questions about inheritance that are pretty confusing to me.
> I think that the main question is about the FK and unique constraints.
> So, I gave up to use the inheritance feature as an advocacy tool. But
> I would like to know what is your opinion on this subject, is there
> anyone working on this issues? How I should answer these questions?
>
> Thanks in advance,
>
> Diogo Biazus
> http://www.postgresql.org.br
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

pgsql-advocacy by date:

Previous
From: Diogo Biazus
Date:
Subject: About inheritance
Next
From: Josh Berkus
Date:
Subject: Re: About inheritance