Re: DeadLocks..., DeadLocks... - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: DeadLocks..., DeadLocks...
Date
Msg-id 20070614171751.GF27600@alvh.no-ip.org
Whole thread Raw
In response to Re: DeadLocks..., DeadLocks...  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-general
Gregory Stark wrote:
>
> I'm still not precisely clear what's going on, it might help if you posted the
> actual schema and the deadlock message which lists the precise locks that
> deadlocked.
>
> Are any of the DML you mention on other tables on those tables with foreign
> key references to this one?

Maybe this has to do with FKs and an old release, which used SELECT FOR
UPDATE in the FK triggers.  Those were well-known for causing deadlocks
back then.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: explain analyze on a function
Next
From: Rikard Pavelic
Date:
Subject: Re: explain analyze on a function