pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jack Douglas <jack@douglastechnology.co.uk>
To: 'Andres Freund' <andres@anarazel.de>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13523: Unexplained deadlocks (possible race condition)
Date: Thu, 30 Jul 2015 09:56:45 +0100
Message-ID: <01ae01d0caa5$a9c774a0$fd565de0$@douglastechnology.co.uk> (raw)
In-Reply-To: <20150729111326.GD24218@alap3.anarazel.de>
References: <20150728162823.25043.27625@wrigleys.postgresql.org>
	<20150729111326.GD24218@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

> I am wondering if the deadlock reports would be a bit easier to debug if
we didn't just say "blocked by process 9394", but also in which lockmode
it's held currently.

That would certainly help, something like this would have been a big clue in
this case:

...
relation 65605 of database 12141; blocked by RowExclusiveLock held by
process 9393.
...

is that what you mean?



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <01ae01d0caa5$a9c774a0$fd565de0$@douglastechnology.co.uk>
Permalink:  ../01ae01d0caa5$a9c774a0$fd565de0$@douglastechnology.co.uk/
Also on:    postgresql.org/message-id/01ae01d0caa5$a9c774a0$fd565de0$@douglastechnology.co.uk

 · 

reply

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: jack@douglastechnology.co.uk, andres@anarazel.de
  Subject: Re: BUG #13523: Unexplained deadlocks (possible race condition)
  In-Reply-To: <01ae01d0caa5$a9c774a0$fd565de0$@douglastechnology.co.uk>
  References: <20150728162823.25043.27625@wrigleys.postgresql.org> <20150729111326.GD24218@alap3.anarazel.de> <01ae01d0caa5$a9c774a0$fd565de0$@douglastechnology.co.uk>

* 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