Re: [EXTERNAL] Re: Add ETIMEDOUT to ALL_CONNECTION_FAILURE_ERRNOS
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jelte Fennema <Jelte.Fennema@microsoft.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-10-01T11:50:37Z
Lists: pgsql-hackers
Jelte Fennema <Jelte.Fennema@microsoft.com> writes: > Personally, I would love to see this backpatched. Since together with a second bug I reported[1] it's causing high query timeouts in Citus even if tcp_user_timeout is set to a low value. I do understand your worry though. Would a patch like the one I attached now be a better fit for a backport? The only way that could work as-intended is if c.h includes whatever header provides TCP_USER_TIMEOUT, which does not seem like a great idea. regards, tom lane
Commits
-
Treat ETIMEDOUT as indicating a non-recoverable connection failure.
- b484ddf4d2eb 15.0 landed