Re: Introduce "log_connection_stages" setting. - Mailing list pgsql-hackers

From Melanie Plageman
Subject Re: Introduce "log_connection_stages" setting.
Date
Msg-id CAAKRu_Zqx-rjcqfxwkDoqLy05xFZ1mq-Q1cvhaDV84re2dFV+g@mail.gmail.com
Whole thread Raw
In response to Re: Introduce "log_connection_stages" setting.  (Melanie Plageman <melanieplageman@gmail.com>)
List pgsql-hackers
On Mon, Mar 3, 2025 at 6:43 PM Melanie Plageman
<melanieplageman@gmail.com> wrote:
>
> Okay, I got cold feet today working on this. I actually think we
> probably want some kind of guc set (set like union/intersection/etc
> not set like assign a value) infrastructure for gucs that can be equal
> to any combination of predetermined values.

I ended up with a patch set that I was happy with which used the list
of string GUCs. I committed it in 9219093cab26. It changes
log_connections to a list of strings for the different aspects of
connection setup and supports the most common inputs for the boolean
version of log_connections for backwards compatibility. I did not end
up deprecating log_disconnections since it is rather late in the cycle
and that change could use more visibility. I suggest proposing that at
the beginning of the next release.

Thanks for your interest in this topic.

- Melanie



pgsql-hackers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: Log connection establishment timings
Next
From: Andrew Dunstan
Date:
Subject: Re: Non-text mode for pg_dumpall