Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id CBF70914537 for ; Thu, 1 Dec 2011 12:54:48 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RW9uI-0007AT-RL for pgsql-bugs@postgresql.org; Thu, 01 Dec 2011 16:54:48 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pB1GsTD9004295; Thu, 1 Dec 2011 11:54:29 -0500 (EST) To: dmigowski@ikoffice.de cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6313: Deadlock reporting contains not enought details In-reply-to: References: Comments: In-reply-to dmigowski@ikoffice.de message dated "Thu, 01 Dec 2011 16:00:46 +0000" Date: Thu, 01 Dec 2011 11:54:28 -0500 Message-ID: <4294.1322758468@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -3.1 (---) X-Archive-Number: 201112/7 X-Sequence-Number: 31818 dmigowski@ikoffice.de writes: > PostgreSQL version: 8.3.16 > 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. If you were running a more modern version of Postgres, you would find a more complete report about the deadlock in the postmaster log. We're not going to change it in 8.3.x though. regards, tom lane