Re: JDBC Statement.setQueryTimeout : is there plan to implement this?
В списке pgsql-sql по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: JDBC Statement.setQueryTimeout : is there plan to implement this? |
| Дата | |
| Msg-id | 4EE8A7B6.7090801@ringerc.id.au обсуждение исходный текст |
| Ответ на | JDBC Statement.setQueryTimeout : is there plan to implement this? (Sylvain Mougenot <smougenot@sqli.com>) |
| Список | pgsql-sql |
On 14/12/2011 9:29 PM, Sylvain Mougenot wrote: > Even if the behaviour is not implemented, I guess it could be "mocked" > if the call to Statement.setQueryTimeout(int seconds) generated the > select statement "SELECT statement_timeout(SEC)". > I know this is not ideal but could solve the problem temporarily. > I could even be turned on by some driver settings. Please search the mailing list archives for discussion on this topic: http://www.postgresql.org/search/?m=1&q=setQueryTimeout+&l=&d=-1&s=d <http://www.postgresql.org/search/?m=1&q=setQueryTimeout+&l=&d=-1&s=d> IIRC there are server backend changes required to make it possible to implement setQueryTimeout, and nobody's come up with an acceptable patch. I haven't followed the issue so I could easily be mistaken, though. -- Craig Ringer
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера