Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZKjef-0004Na-A2 for pgsql-bugs@arkaria.postgresql.org; Thu, 30 Jul 2015 08:57:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZKjee-0002g2-Qt for pgsql-bugs@arkaria.postgresql.org; Thu, 30 Jul 2015 08:57:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZKje2-0001lw-FO for pgsql-bugs@postgresql.org; Thu, 30 Jul 2015 08:56:54 +0000 Received: from douglastechnology.co.uk ([109.169.21.47] helo=mail.douglastechnology.co.uk) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZKjdz-00020S-3v for pgsql-bugs@postgresql.org; Thu, 30 Jul 2015 08:56:52 +0000 Received: from redditch (unknown [95.154.250.181]) by mail.douglastechnology.co.uk (Postfix) with ESMTPSA id D41594002AB92; Thu, 30 Jul 2015 09:56:47 +0100 (BST) From: "Jack Douglas" To: "'Andres Freund'" Cc: References: <20150728162823.25043.27625@wrigleys.postgresql.org> <20150729111326.GD24218@alap3.anarazel.de> In-Reply-To: <20150729111326.GD24218@alap3.anarazel.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQGcf0xE18AKTxoNJZtQsHxZmHenRQHAwVd1AP9snQM= Content-Language: en-gb X-Pg-Spam-Score: -3.3 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org > 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