Re: Add client connection check during the execution of the query
Tatsuo Ishii <ishii@sraoss.co.jp>
From: Tatsuo Ishii <ishii@sraoss.co.jp>
To: s.cherkashin@postgrespro.ru
Cc: tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Date: 2019-07-05T06:28:14Z
Lists: pgsql-hackers
> The purpose of this patch is to stop the execution of continuous > requests in case of a disconnection from the client. Pgpool-II already does this by sending a parameter status message to the client. It is expected that clients are always prepared to receive the parameter status message. This way I believe we could reliably detect that the connection to the client is broken or not. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese:http://www.sraoss.co.jp
Commits
-
Add WL_SOCKET_CLOSED for socket shutdown events.
- 50e570a59e7f 15.0 landed
-
Use WL_SOCKET_CLOSED for client_connection_check_interval.
- cba5b994c990 15.0 landed
-
Detect POLLHUP/POLLRDHUP while running queries.
- c30f54ad732c 14.0 landed
-
Improve timeout.c's handling of repeated timeout set/cancel.
- 09cf1d522676 14.0 cited