Re: surprising trigger/foreign key interaction

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: surprising trigger/foreign key interaction
Date: 2009-08-13 14:03:36
Message-ID: 20090813140336.GA5909@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:

> > I imagine this is so because of some old fiddling to get semantics just
> > right for obscure corner cases, but it feels wrong nevertheless.
>
> I suspect it was reluctance to use the EvalPlanQual semantics (which
> are pretty bogus in their own way) for perfectly deterministic
> single-transaction cases.

I suspect the FK trigger messing up the visibility is an obscure corner
case too :-(

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-13 14:07:38 Re: Alpha 1 release notes
Previous Message Stefan Kaltenbrunner 2009-08-13 12:10:07 Re: surprising trigger/foreign key interaction