Re: Supporting TCP_SYNCNT in libpq - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Supporting TCP_SYNCNT in libpq
Date
Msg-id kdqou7nbsonhkdveea3mt2wnle4tr5sscmuqip7xmv3klnrudk@mhzl7imos6jk
Whole thread Raw
In response to Supporting TCP_SYNCNT in libpq  (Francesco Canovai <francesco.canovai@enterprisedb.com>)
Responses Re: Supporting TCP_SYNCNT in libpq
List pgsql-hackers
Hi,

On 2025-03-13 09:37:37 +0100, Francesco Canovai wrote:
> In this scenario, `tcp_user_timeout` could close a connection retrying
> the SYNs (even though it doesn't seem to do it from the documentation,
> it works) the parameter will affect the entire connection.
> `connect_timeout`, doesn't work with `PQconnectPoll`, so it won't
> prevent the walreceiver from timing out.

Why not implement timeout support for PQconnectPoll?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: pg_stat_statements and "IN" conditions
Next
From: Bruce Momjian
Date:
Subject: Increase default maintenance_io_concurrency to 16