Re: Proposed patch for showing originating query on error - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Proposed patch for showing originating query on error
Date
Msg-id 42E8F488.6070704@opencloud.com
Whole thread Raw
In response to Re: Proposed patch for showing originating query on error  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Proposed patch for showing originating query on error  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Dave Cramer wrote:

> There are even more paths there to hook into. Putting it in
> AbstractJdbc2Statement minimizes
> the number of places it would need to be added to. QueryExecutor has  a
> few Implementations ...

Well, do you have a better suggestion that catches all paths?

>> - ideally it should be configurable (hook it into whatever came out of
>> Kris' suggestions about including more info in server-generated
>> exception, perhaps?)
>
> Well, lets get it working first before we make it configurable.

sigh :( let's get it right before we commit it at all.. in practise it
seems "we'll fix this later" means "we won't fix it"

-O

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Proposed patch for showing originating query on error
Next
From: "Kevin Grittner"
Date:
Subject: Re: SQLException and error code