Re: Constraint Trigger's referenced_table - Mailing list pgsql-general

From Richard Broersma Jr
Subject Re: Constraint Trigger's referenced_table
Date
Msg-id 847623.44350.qm@web31812.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Constraint Trigger's referenced_table  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Constraint Trigger's referenced_table
List pgsql-general
--- On Sat, 12/22/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> It doesn't.  That table OID is just stored for the
> trigger function
> to use if it wants to.


I see.  I was thinking that the FROM clause of the Constraint Trigger would allow tuple modifications from either the
ONtable or FROM table to raise the  raise the trigger.   

So is the purpose of knowing the reference_table OID, is that it helps to generalize the logic of the CONSTRAINT
TRIGGERS?

Regards,
Richard Broersma Jr.

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Warm standby system - FATAL: the database system is starting up
Next
From: Tom Lane
Date:
Subject: Re: Constraint Trigger's referenced_table