Re: foreign keys and RI triggers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: foreign keys and RI triggers
Date
Msg-id 14239.1117201954@sss.pgh.pa.us
Whole thread Raw
In response to Re: foreign keys and RI triggers  (Neil Conway <neilc@samurai.com>)
Responses Re: foreign keys and RI triggers  (Neil Conway <neilc@samurai.com>)
List pgsql-hackers
Neil Conway <neilc@samurai.com> writes:
> Speaking of which, does anyone see a reason why RI_FKey_keyequal_upd() 
> is implemented as a pseudo-trigger function -- e.g. taking a pointer to 
> a TriggerData?

Because (a) it needs all the same arguments and (b) it can share
infrastructure with the other RI triggers.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Mark Cave-Ayland"
Date:
Subject: Re: Cost of XLogInsert CRC calculations
Next
From: Tom Lane
Date:
Subject: Re: WAL replay failure after file truncation(?)