Allow configuring tcp_user_timeout using citus.node_conn_info (#5203)

`tcp_user_timeout` is the awesome relatively unknown big brother of the
TCP keepalive related options. Instead of depending on keepalives being
sent, this determines that a socket is dead by waiting at most N seconds
for an ack of data that it has sent. It's exposed in libpq starting from
PG12.
pull/5204/head
Jelte Fennema 2021-08-24 10:48:40 +02:00 committed by GitHub
parent 5af839ada0
commit a31429aae5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1896,6 +1896,7 @@ NodeConninfoGucCheckHook(char **newval, void **extra, GucSource source)
"sslcrl", "sslcrl",
"sslmode", "sslmode",
"sslrootcert" "sslrootcert"
"tcp_user_timeout",
}; };
char *errorMsg = NULL; char *errorMsg = NULL;
bool conninfoValid = CheckConninfo(*newval, allowedConninfoKeywords, bool conninfoValid = CheckConninfo(*newval, allowedConninfoKeywords,