According to PostgresSQL docs there is parameter keepalives and further parameters keepalives_idle, keepalives_interval and keepalives_count which are relevant only if keepalives=1.
But it is not clear to me what does it mean if the parameter keepalives is set to zero?
What exactly happens if the keepalives parameter is set to zero (keepalives=0)?
Does it mean that a PostgreSQL session is never terminated? What happens if client application is closed? What happens if network connection is broken? Does it mean that the PostgreSQL server will never ever terminate idle session?