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: 14239.1117201954@sss.pgh.pa.us (view raw or flat)
Thread:
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

Responses

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-2014 The PostgreSQL Global Development Group