Re: Implementing setQueryTimeout() - round 2

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Implementing setQueryTimeout() - round 2
Дата
Msg-id 87ve4lz3bf.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: Implementing setQueryTimeout() - round 2  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
"Oliver Jowett" <oliver@opencloud.com> writes:

> The real world case I am dealing with needs the hardQueryTimeout behaviour. If
> I'm going to implement anything first, it's that.

I still don't understand why this has to be in the driver. Your application is
going to have to be able to handle creating a new connection in response to
this error so why can't it just also be the one to close the connection?

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's 24x7 Postgres support!

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

Предыдущее
От: Till Toenges
Дата:
Сообщение: Re: Implementing setQueryTimeout()
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Implementing setQueryTimeout() - round 2