Closed pH14 closed 1 year ago
Does this setting exist in psql? I would prefer to mirror its configuration options.
It should! It's one of the libpq params: https://www.postgresql.org/docs/15/libpq-connect.html#LIBPQ-PARAMKEYWORDS
Oh nice, I totally missed that somehow...
Thanks!
🙇 thank you @sfackler!
Oh nice, I totally missed that somehow...
(It's new in v12, so you might've been looking at an old version of the docs.)
TCP user timeouts are pretty useful, especially in conjunction with the existing connect timeout / keepalive settings. This adds a new config value, allowing us to set a user timeout on the socket similar to the keepalive setting.