X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C5E77528CE for ; Thu, 7 Jul 2005 11:29:49 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 20189-03 for ; Thu, 7 Jul 2005 14:29:46 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 70179529C9 for ; Thu, 7 Jul 2005 11:29:44 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id AC6DB30B41; Thu, 7 Jul 2005 16:33:41 +0200 (MET DST) From: Joseph Shraibman X-Newsgroups: pgsql.interfaces.jdbc Subject: Exception from deadlock Date: Thu, 07 Jul 2005 10:29:47 -0400 Organization: Hub.Org Networking Services Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en To: pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/41 X-Sequence-Number: 13189 org.postgresql.util.PSQLException: ERROR: deadlock detected at org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139) at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:152) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:100) at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:517) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:273) at org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:259) When I get a deadlock on psql, I get: ERROR: deadlock detected DETAIL: Process 12189 waits for ShareLock on transaction 3657282; blocked by process 12109. Process 12109 waits for ShareLock on transaction 3657280; blocked by process 12189. So my quesion is where did that detail information go in the jdbc driver? I'm using postgres 7.4.7 with the jdbc driver that comes with it.