Re: [HACKERS] Support for JDBC setQueryTimeout, et al.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Support for JDBC setQueryTimeout, et al.
Дата
Msg-id 22899.1286806644@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Support for JDBC setQueryTimeout, et al.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: [HACKERS] Support for JDBC setQueryTimeout, et al.
Список pgsql-jdbc
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> David Fetter <david@fetter.org> wrote:
>> Please find enclosed a WIP patch from one of my co-workers
>> intended to support JDBC's setQueryTimeout, along with the patch
>> for JDBC that uses it.

> I agree that it would be very nice to support this JDBC feature, but
> I'm not clear on why this can't be done with just JDBC changes using
> the java.util.Timer class and the existing Statement.cancel()
> method.  Can you explain why the backend needed to be touched?

... and, if you are seriously expecting to have that happen, why the
patch was submitted to pgsql-jdbc not pgsql-hackers?  I hadn't even
read it because I assumed it was strictly a JDBC change.

            regards, tom lane

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Support for JDBC setQueryTimeout, et al.
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: [HACKERS] Support for JDBC setQueryTimeout, et al.