Re: why it doesn't work? referential integrity - Mailing list pgsql-general

From Stephan Szabo
Subject Re: why it doesn't work? referential integrity
Date
Msg-id 20070811100827.G71318@megazone.bigpanda.com
Whole thread Raw
In response to why it doesn't work? referential integrity  ("Pavel Stehule" <pavel.stehule@gmail.com>)
Responses Re: why it doesn't work? referential integrity  ("Pavel Stehule" <pavel.stehule@gmail.com>)
List pgsql-general
On Sat, 11 Aug 2007, Pavel Stehule wrote:

> Hello
>
> I found strange postgresql's behave. Can somebody explain it?

There's a bug since it should work for any number, but we've likely missed
something. I'm not sure why 2 references work, as I'd expect it to stop
working after 1 with the likely causes, but one of the constraint checks
is happening before the row is finished being updated.

I don't think it'll help for this case (since it revolved around multiple
tables), but could you try the patch from
 http://archives.postgresql.org/pgsql-bugs/2007-05/msg00177.php
to see if it helps this case?

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: timestamp skew during 7.4 -> 8.2 upgrade
Next
From: "Pavel Stehule"
Date:
Subject: Re: why it doesn't work? referential integrity