Re: Log connection establishment timings

Jacob Champion <jacob.champion@enterprisedb.com>

From: Jacob Champion <jacob.champion@enterprisedb.com>
To: Melanie Plageman <melanieplageman@gmail.com>
Cc: Peter Eisentraut <peter@eisentraut.org>, Daniel Gustafsson <daniel@yesql.se>, Fujii Masao <masao.fujii@oss.nttdata.com>, Andres Freund <andres@anarazel.de>, Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Guillaume Lelarge <guillaume@lelarge.info>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, andrey.chudnovskiy@microsoft.com, Jelte Fennema-Nio <postgres@jeltef.nl>
Date: 2025-05-21T21:20:34Z
Lists: pgsql-hackers
On Wed, May 21, 2025 at 12:54 PM Melanie Plageman
<melanieplageman@gmail.com> wrote:
> Attached is a patch that updates these as well as changes all usages
> of log_connections in the tests. I made some judgment calls about
> where we might want expanded or reduced log_connections aspects. As
> such, the patch could use a once-over from someone else.

I took a quick look at the authentication and oauth_validator changes.
Maybe 007_pre_auth.pl should include `receipt`, to make it easier to
debug pre-auth hangs using the logs? Other than that, the changes
looked reasonable to me.

--Jacob



Commits

  1. Replace deprecated log_connections values in docs and tests