From: dmigowski@ikoffice.de
To: pgsql-bugs@postgresql.org
Subject: BUG #6313: Deadlock reporting contains not enought details
Date: Thu, 01 Dec 2011 16:00:46 +0000
Message-ID: <E1RW942-000531-06@wrigleys.postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 6313
Logged by: Daniel Migowski
Email address: dmigowski@ikoffice.de
PostgreSQL version: 8.3.16
Operating system: Linux
Description:
In my application I receive deadlocks from time to time, reported by an
error message like this:
ERROR: deadlock detected
SQL Status:40P01
Detail:Process 30812 waits for ShareLock on transaction 278158200; blocked
by process 2852.
Process 2852 waits for ShareLock on transaction 278158159; blocked by
process 30812.
This is absolutely useless for me for the following reasons. I know which
processes have participated in the deadlock, and one of them returns an
error, abd I know which statement does the deadlock, but my "statement"
contains of 20 single sql statements and I don't know which lock the
processes where fighting over. Could you please add information about which
lock could not be granted, and what other locks have already been in place
(or at least, what other locks have participated in this deadlock
detection)?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: dmigowski@ikoffice.de
Subject: Re: BUG #6313: Deadlock reporting contains not enought details
In-Reply-To: <E1RW942-000531-06@wrigleys.postgresql.org>
References: <E1RW942-000531-06@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox