Re: Inheritance and trigger/FK propagation - Mailing list pgsql-general

From Craig Ringer
Subject Re: Inheritance and trigger/FK propagation
Date
Msg-id 4C3ED37C.1070007@postnewspapers.com.au
Whole thread Raw
In response to Inheritance and trigger/FK propagation  ("Davor J." <DavorJ@live.com>)
List pgsql-general
On 15/07/10 16:05, Davor J. wrote:
> It seems no secret that a child table will not fire a trigger defined on
> it's parent table. Various posts comment on this. But nowhere could I find a
> reason for this.

[snip]

> I read in the change logs of 8.4: "Force child tables to inherit CHECK
> constraints from parents (Alex Hunsaker, Nikhil Sontakke, Tom)." So why not
> with triggers and FK's?

My understanding is that it's mostly an implementation limitation. In
other words, rather than any fundamental reason why it should not be
done, the issue is that nobody has gone and implemented it, tested it,
and ironed out the quirks and corner cases yet.

--
Craig Ringer

pgsql-general by date:

Previous
From: Allan Kamau
Date:
Subject: Re: Redundant database objects.
Next
From: Alban Hertroys
Date:
Subject: Re: Planner features, discussion