Re: confusing positioning of notes in connection settings

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: confusing positioning of notes in connection settings
Дата
Msg-id D70737D3-C949-471A-9471-9E2C22C428F4@yesql.se
обсуждение исходный текст
Ответ на Re: confusing positioning of notes in connection settings  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: confusing positioning of notes in connection settings  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-docs
> 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_KEEPCNTis supported. 

Don't forget the "and on Windows;" part.

>  There is no specific code for Windows.

We have pq_setkeepaliveswin32() for Windows which can work on Windows 2000 and
later versions based on the existence of SIO_KEEPALIVE_VALS.

> Random googling suggests that TCP_KEEPCNT does exist on Windows.

For Windows what you want is SIO_KEEPALIVE_VALS.

--
Daniel Gustafsson




В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: confusing positioning of notes in connection settings
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: confusing positioning of notes in connection settings