| От | Tom Lane |
|---|---|
| Тема | Re: timeout for a transaction |
| Дата | |
| Msg-id | 21076.991778495@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | timeout for a transaction (HYip <hualinyip@earthlink.net>) |
| Список | pgsql-general |
HYip <hualinyip@earthlink.net> writes:
> 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.
The backend will abort its transaction and exit when it observes closure
of the client connection. If your webserver is holding open the TCP
connection even after it's stopped processing your script, then you'd
best fix the webserver.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера