Re: pgsql: Modularize log_connections output - Mailing list pgsql-committers

From Daniel Gustafsson
Subject Re: pgsql: Modularize log_connections output
Date
Msg-id 22D5E616-F460-467A-B913-32CCF1CDB884@yesql.se
Whole thread Raw
In response to Re: pgsql: Modularize log_connections output  (Melanie Plageman <melanieplageman@gmail.com>)
Responses Re: pgsql: Modularize log_connections output
List pgsql-committers
> On 12 Mar 2025, at 17:07, Melanie Plageman <melanieplageman@gmail.com> wrote:
>
> Thanks for taking a look!
>
> On Wed, Mar 12, 2025 at 11:50 AM Daniel Westermann (DWE)
> <daniel.westermann@dbi-services.com> wrote:
>>
>>
>> great, thanks for this. One question:
>>
>>> The current log_connections options are 'receipt', 'authentication', and
>>> 'authorization'. The empty string disables all connection logging. 'all'
>>> enables all available connection logging.
>>
>> ... shouldn't this be added to tab completion as well?
>>
>> postgres=# alter system set log_connections TO DEFAULT
>
> Because it is now a string GUC, there isn't a facility for tab
> completion.

This GUC also cannot be changed within a session which makes tab completion
less useful.

--
Daniel Gustafsson




pgsql-committers by date:

Previous
From: Melanie Plageman
Date:
Subject: Re: pgsql: Modularize log_connections output
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Handle interrupts while waiting on Append's async subplans