Re: BUG #2576: tcp_keepalive doesn't work
От
Tom Lane
Тема
Re: BUG #2576: tcp_keepalive doesn't work
Дата
Msg-id
2407.1155648616@sss.pgh.pa.us
Ответ на
BUG #2576: tcp_keepalive doesn't work (Fujii Masao)
Список
Дерево обсуждения
BUG #2576: tcp_keepalive doesn't work "Fujii Masao" <fujii.masao@oss.ntt.co.jp>
Re: BUG #2576: tcp_keepalive doesn't work Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #2576: tcp_keepalive doesn't work Fujii Masao <fujii.masao@oss.ntt.co.jp>
Re: BUG #2576: tcp_keepalive doesn't work Fujii Masao <fujii.masao@oss.ntt.co.jp>
Re: BUG #2576: tcp_keepalive doesn't work Tom Lane <tgl@sss.pgh.pa.us>
Re: BUG #2576: tcp_keepalive doesn't work Fujii Masao <fujii.masao@oss.ntt.co.jp>
Re: BUG #2576: tcp_keepalive doesn't work Tom Lane <tgl@sss.pgh.pa.us>
"Fujii Masao" writes: > I found an error that tcp_keepalive doesn't work. You seem to have a misunderstanding of what tcp_keepalive is for. It does not kill a backend that is in the midst of a query. A backend will terminate when it is waiting for a client command and it sees that the connection has been lost --- which is what a TCP timeout will cause to happen. But your example backends are not waiting for client commands. If you want backends to abort live queries before they finish, use statement_timeout. regards, tom lane
В списке pgsql-bugs по дате отправления
От: Luiz Henrique
Дата: