title: postgresql "keepalives" parameter
body: <p>According to <a href="https://www.postgresql.org/docs/current/static/libpq-connect.html" rel="nofollow noreferrer">PostgresSQL docs</a> there is parameter <code>keepalives</code> and further parameters <code>keepalives_idle</code>, <code>keepalives_interval</code> and <code>keepalives_count</code> which are relevant only if <code>keepalives=1</code>.</p>
  <p>But it is not clear to me what does it mean if the parameter <code>keepalives</code> is set to zero?</p>
  <p>What exactly happens if the <code>keepalives</code> parameter is set to zero (<code>keepalives=0</code>)?</p>
  <p>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?</p>