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 5D9E052B7A for ; Sun, 10 Jul 2005 08:57:02 -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 79763-03 for ; Sun, 10 Jul 2005 11:56:56 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id A638252B70 for ; Sun, 10 Jul 2005 08:56:54 -0300 (ADT) Received: (qmail 8193 invoked from network); 10 Jul 2005 12:09:16 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (64.7.143.116) by net2.micro-automation.com with SMTP; 10 Jul 2005 12:09:16 -0000 In-Reply-To: References: <42CDB7C1.5050107@opencloud.com> Mime-Version: 1.0 (Apple Message framework v730) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Oliver Jowett , Joseph Shraibman , pgsql-jdbc@postgresql.org Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: Exception from deadlock Date: Sun, 10 Jul 2005 07:56:59 -0400 To: Kris Jurka X-Mailer: Apple Mail (2.730) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.017 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/50 X-Sequence-Number: 13198 Kris, I think as much as possible makes sense too, this shouldn't be in the critical path for performance, so why not ? Dave On 8-Jul-05, at 8:58 PM, Kris Jurka wrote: > > > On Thu, 7 Jul 2005, Oliver Jowett wrote: > > > >> Joseph Shraibman wrote: >> >> >> >>> 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. >>> >>> >> >> Can you try an 8.0-era driver from jdbc.postgresql.org? There have >> been >> a number of changes to server error message handling since 7.4. >> >> >> > > Actually this is the same in 7.4 and later versions. The level of > detail > put into the exception message is derived from the loglevel URL > parameter, > see the toString method. > > http://gborg.postgresql.org/project/pgjdbc/cvs/co.php/pgjdbc/org/ > postgresql/util/ServerErrorMessage.java?r=1.8 > > Later driver versions (8.1dev) allow pg specific code to access all > of the > fields individually to craft any message they desire. > > I personally like the idea of putting more information into the > default > error message. How much more do people want? > > http://www.postgresql.org/docs/8.0/static/protocol-error-fields.html > > Kris Jurka > > ---------------------------(end of > broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > > > Dave Cramer davec@postgresintl.com www.postgresintl.com ICQ #14675561 jabber davecramer@jabber.org ph (519 939 0336 )