| От | HYip |
|---|---|
| Тема | timeout for a transaction |
| Дата | |
| Msg-id | 3B1558E0.33656CFB@earthlink.net обсуждение исходный текст |
| Ответы |
Re: timeout for a transaction
|
| Список | pgsql-general |
I have a connection opened, and begin a transaction. If tomcat or web server dies for no reasons, I found that in the backend, there is a postgresql server process waiting for the transaction to complete. It blocks all my database calls because of this waiting process. I have to manually kill that waiting process to unlock the database. Is there any way of setting a timeout for the transaction? How come the postgresql server doesn't detect the client dies, rollback and release the resources? I want the system be able to do it automatically. Any suggestions? Thanks, Percy
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера