Re: deadlock problems with foreign keys - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: deadlock problems with foreign keys
Date
Msg-id 20020328082428.R22741-100000@megazone23.bigpanda.com
Whole thread Raw
In response to deadlock problems with foreign keys  ("Mario Weilguni" <mario.weilguni@icomedias.com>)
List pgsql-hackers
On Thu, 28 Mar 2002, Mario Weilguni wrote:

> I've a severe problem with deadlocks in postgres, when using
> referential integrity it's quite easy to trigger deadlocks. I think
> the may be a bug in ri_trigger.c (discussed later). Here's some short

You might want to see recent messages about foreign keys for more
information (in the RI triggers and schemas thread, specifically
the message from Alex Hayward).

Jan's example of a failure case is why it does what it currently does
since AFAIK we don't have a weaker mechanism available to us through SPI
currently that is still sufficiently strong.



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Rough sketch for locale by default
Next
From: "Mario Weilguni"
Date:
Subject: Re: deadlock problems with foreign keys