Re: Reproducable deadlock situation (possibly with foreign keys)

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Mario Weilguni <mweilguni(at)sime(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Reproducable deadlock situation (possibly with foreign keys)
Date: 2005-11-16 12:20:52
Message-ID: 20051116122052.GF11090@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mario Weilguni wrote:
> Ok, this my fault, and you're right.
>
> I took the query from the error messages (a 8.0.3 DB) and applied it to a 8.1
> DB on a testing system without thinking too much.
>
> Still I think reordering those queries might prevent a deadlock.

Well, if we could reorder them, we could have solved the problem long
ago. I'm not totally sure it can't be done, but we tackled the problem
in a different way so it's moot now.

--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
"Cada quien es cada cual y baja las escaleras como quiere" (JMSerrat)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-11-16 12:30:13 Re: question about count(b) where b is a custom type
Previous Message Mario Weilguni 2005-11-16 11:47:43 Re: Reproducable deadlock situation (possibly with foreign keys)