Re: pgsql: Modularize log_connections output

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>, "pgsql-committers(at)lists(dot)postgresql(dot)org" <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Modularize log_connections output
Date: 2025-03-12 16:36:40
Message-ID: 22D5E616-F460-467A-B913-32CCF1CDB884@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

> On 12 Mar 2025, at 17:07, Melanie Plageman <melanieplageman(at)gmail(dot)com> wrote:
>
> Thanks for taking a look!
>
> On Wed, Mar 12, 2025 at 11:50 AM Daniel Westermann (DWE)
> <daniel(dot)westermann(at)dbi-services(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2025-03-12 19:15:21 pgsql: Handle interrupts while waiting on Append's async subplans
Previous Message Melanie Plageman 2025-03-12 16:07:24 Re: pgsql: Modularize log_connections output