Re: foreign keys and RI triggers

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 05:39:57
Message-ID: 4296B2AD.2040406@samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> But the check could incorporate the same transaction ID test already
> in use. I think Neil is right that it'd be a win to apply the test
> before enqueueing the trigger instead of after.

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? It seems a kludge.

-Neil

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2005-05-27 06:30:55 Re: WAL replay failure after file truncation(?)
Previous Message Qingqing Zhou 2005-05-27 04:47:31 Re: unsafe use of hash_search(... HASH_ENTER ...)