Skip site navigation (1) Skip section navigation (2)

Re: foreign keys and RI triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>,pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: foreign keys and RI triggers
Date: 2005-05-27 13:52:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Neil Conway <neilc(at)samurai(dot)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

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2005-05-27 13:56:27
Subject: Re: WAL replay failure after file truncation(?)
Previous:From: Mark Cave-AylandDate: 2005-05-27 13:49:47
Subject: Re: Cost of XLogInsert CRC calculations

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group