From: Dave Cramer <pg@fastcrypt.com>
To: Kris Jurka <books@ejurka.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: Joseph Shraibman <jks@selectacast.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Exception from deadlock
Date: Sun, 10 Jul 2005 07:56:59 -0400
Message-ID: <BB148208-D51D-4C2D-BC38-9B2FC98E931F@fastcrypt.com> (raw)
In-Reply-To: <Pine.BSO.4.56.0507081950250.24956@leary.csoft.net>
References: <daje8m$k6s$1@news.hub.org>
<42CDB7C1.5050107@opencloud.com>
<Pine.BSO.4.56.0507081950250.24956@leary.csoft.net>
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 )
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-jdbc@postgresql.org
Cc: pg@fastcrypt.com, books@ejurka.com, oliver@opencloud.com, jks@selectacast.net
Subject: Re: Exception from deadlock
In-Reply-To: <BB148208-D51D-4C2D-BC38-9B2FC98E931F@fastcrypt.com>
References: <daje8m$k6s$1@news.hub.org> <42CDB7C1.5050107@opencloud.com> <Pine.BSO.4.56.0507081950250.24956@leary.csoft.net> <BB148208-D51D-4C2D-BC38-9B2FC98E931F@fastcrypt.com>
* 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