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

From Gregory Stark
Subject Re: DeadLocks..., DeadLocks...
Date
Msg-id 87bqfiv4ui.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: DeadLocks..., DeadLocks...  (Bill Moran <wmoran@potentialtech.com>)
Responses Re: DeadLocks..., DeadLocks...  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: DeadLocks..., DeadLocks...  (Tom Allison <tom@tacocat.net>)
Re: DeadLocks..., DeadLocks...  (Tom Allison <tom@tacocat.net>)
List pgsql-general
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?

It's impossible for two inserts on the same table to deadlock against each
other so there must be more going on than what you've described. It's hard to
help much without a complete picture.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: changing the /tmp/ lock file?
Next
From: Alvaro Herrera
Date:
Subject: Re: explain analyze on a function