Re: Questions on RI spec (poss. bugs)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jan Wieck <janwieck(at)Yahoo(dot)com>
Cc: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Questions on RI spec (poss. bugs)
Date: 2000-11-21 18:35:21
Message-ID: Pine.LNX.4.21.0011211932400.781-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jan Wieck writes:

> Stephan Szabo wrote:
> >
> > There's a message on -general about a possible
> > problem in the deferred RI constraints. He was doing a
> > sequence like:
> > begin
> > delete
> > insert
> > end
> > and having it fail even though the deleted key was back in
> > place at the end.
>
> Isn't that (delete and reinsert the same PK) what the
> standard means with "triggered data change violation"?

Triggered data change violations can only occur if the same attribute is
changed twice during the same *statement*, not transaction.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mikheev, Vadim 2000-11-21 22:01:07 RE: Crash during WAL recovery?
Previous Message Peter Eisentraut 2000-11-21 18:28:36 Re: quick english patch