Specifies the number of seconds after which a TCP keepalive message that is not acknowledged by the client should be retransmitted. A value of 0 uses the system default. This parameter is supported only on systems that support
TCP_KEEPINTVL or an equivalent socket option, and on Windows; on other systems, it must be zero. In sessions connected via a Unix-domain socket, this parameter is ignored and always reads as zero.
On Windows, a value of 0 will set this parameter to 1 second, since Windows does not provide a way to read the system default value.
- How to use tcp_keepalives settings in Postgresql?
- Using TCP keepalive for terminating orphan postgres queries not working
- pg_settings discrepancy between psql and npgsql
- How to break connections TCP/IP by keepalive postgreSQL without changing anything in the register?
- struggling with connection idle timeout settings on ubuntu with postgresql