Re: Proposed patch for showing originating query on error

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Proposed patch for showing originating query on error
Дата
Msg-id 8DBEB41D-35E7-4936-9D15-8D759C11E175@fastcrypt.com
обсуждение исходный текст
Ответ на Re: Proposed patch for showing originating query on error  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
On 28-Jul-05, at 11:06 AM, Oliver Jowett wrote:

> 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?
I'll give it some serious attention later, I hacked it in to your
code for someone, just wanted to get it into the discussion.
>
>
>>> - 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"
Agreed.
>
> -O
>
>


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: SQLException and error code
Следующее
От: Christian Cryder
Дата:
Сообщение: Re: smallint mapping issue