pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <daniel@yesql.se>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Jonathan S. Katz <jkatz@postgresql.org>
Cc: Pg Docs <pgsql-docs@lists.postgresql.org>
Subject: Re: confusing positioning of notes in connection settings
Date: Wed, 26 Apr 2023 13:36:34 +0200
Message-ID: <39202431-DF62-42E2-B0C1-500C93AD37C8@yesql.se> (raw)
In-Reply-To: <D70737D3-C949-471A-9471-9E2C22C428F4@yesql.se>
References: <6f825d42-a1ce-492a-2ea7-c83e6e65fa8b@postgresql.org>
	<4e34fcb4-6791-0266-7352-27b769c478f9@enterprisedb.com>
	<D70737D3-C949-471A-9471-9E2C22C428F4@yesql.se>

> On 26 Apr 2023, at 10:18, Daniel Gustafsson <daniel@yesql.se> wrote:
> 
>> On 26 Apr 2023, at 08:08, Peter Eisentraut <peter.eisentraut@enterprisedb.com> wrote:
> 
>> I wonder if the notes are even true.  The text for tcp_keepalives_interval already says that it is only supported if TCP_KEEPCNT is supported.

Re-reading this I think there was some confusion, definitely so on my part.

tcp_keepalives_interval relies on TCP_KEEPINTVL, with the Windows equivalent
being SIO_KEEPALIVE_VALS.  TCP_KEEPCNT is for tcp_keepalives_count which indeed
is not supported on Windows.  Jonathans original question was regarding _count
and _timeout and not _interval.

I do agree that all of these notes may just as well be added to the text, the
option client_connection_check_interval following these have text about
platform compatibility without using a note.

--
Daniel Gustafsson






view thread (11+ messages)  latest in thread

Message-ID: <39202431-DF62-42E2-B0C1-500C93AD37C8@yesql.se>
Permalink:  ../39202431-DF62-42E2-B0C1-500C93AD37C8@yesql.se/
Also on:    postgresql.org/message-id/39202431-DF62-42E2-B0C1-500C93AD37C8@yesql.se

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: daniel@yesql.se, peter.eisentraut@enterprisedb.com, jkatz@postgresql.org, pgsql-docs@lists.postgresql.org
  Subject: Re: confusing positioning of notes in connection settings
  In-Reply-To: <39202431-DF62-42E2-B0C1-500C93AD37C8@yesql.se>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox