Re: Foreign keys referencing parent table fails on insert - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: Foreign keys referencing parent table fails on insert
Date
Msg-id 20041202203001.L37573@megazone.bigpanda.com
Whole thread Raw
In response to Re: Foreign keys referencing parent table fails on insert  (postgresbugs <postgresbugs@grifent.com>)
Responses Re: Foreign keys referencing parent table fails on insert  (postgresbugs <postgresbugs@grifent.com>)
List pgsql-bugs
On Thu, 2 Dec 2004, postgresbugs wrote:

>
>  On Wed, 1 Dec 2004, Stephan Szabo wrote:
>
>  On Wed, 1 Dec 2004, postgresbugs wrote:
>
>  > Foreign keys referencing parent table fails on insert if the key is in
> > the table that inherits the parent table.
>
>
>  Unfortunately, primary keys, unique constraints and foreign keys do not
> inherit to children in a meaningful fashion. It's one of the big
> deficiencies right now.
>
>
>
>
> Too bad. Table inheritance is pretty meaningless without these
> abilities. Anyone working on them? In the meantime, I will go back to
> views and updating the underlying tables.

There's noone actively working on it at the moment that I know of (and if
there is, hopefully they'll see this and correct me) although I believe
there was some noise in the last dev cycle of people thinking about the
unique (and pkey) side of it.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: "invalid memory alloc request size " in deferred trigger causes transaction to fail, but the backend keeps running
Next
From: "Paul Buder"
Date:
Subject: Windows command line utilities problems