Re: Log connection establishment timings
Melanie Plageman <melanieplageman@gmail.com>
From: Melanie Plageman <melanieplageman@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>,
Fujii Masao <masao.fujii@oss.nttdata.com>, Guillaume Lelarge <guillaume@lelarge.info>,
Pg Hackers <pgsql-hackers@postgresql.org>, Daniel Gustafsson <daniel@yesql.se>, andrey.chudnovskiy@microsoft.com, Jelte Fennema-Nio <postgres@jeltef.nl>,
Jacob Champion <jacob.champion@enterprisedb.com>
Date: 2025-02-27T22:55:19Z
Lists: pgsql-hackers
Attachments
- v7-0002-Add-connection-establishment-duration-logging.patch (text/x-patch) patch v7-0002
- v7-0001-Make-log_connections-a-list.patch (text/x-patch) patch v7-0001
On Thu, Feb 27, 2025 at 11:30 AM Andres Freund <andres@anarazel.de> wrote: > > On 2025-02-27 11:08:04 -0500, Melanie Plageman wrote: > > > However, since that is a bigger project (with more refactoring, etc), > > he suggested that we change log_connections to a GUC_LIST > > (ConfigureNamesString) with options like "none", "received, > > "authenticated", "authorized", "all". > > Yep. I've done a draft of this in attached v7 (see 0001). It still needs polishing (e.g. I need to figure out where to put the new guc hook functions and enums and such), but I want to see if this is a viable direction forward. I'm worried the list of possible connection log messages could get unwieldy if we add many more. - Melanie
Commits
-
Replace deprecated log_connections values in docs and tests
- cb1456423d39 18.0 landed