Re: Logging which local address was connected to in log_line_prefix - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Logging which local address was connected to in log_line_prefix
Date
Msg-id 3463767.1744039639@sss.pgh.pa.us
Whole thread Raw
In response to Re: Logging which local address was connected to in log_line_prefix  (Greg Sabino Mullane <htamfids@gmail.com>)
List pgsql-hackers
Greg Sabino Mullane <htamfids@gmail.com> writes:
> On Sun, Apr 6, 2025 at 6:01 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> 1. Ignore the inconsistency, commit 0004 as-is.
>> 
>> 2. Change the output to be an empty string in background processes.
>> This is consistent, but it goes against our upthread feeling that
>> "[none]" would avoid confusion.

> I lean for #1. Yes, there is some inconsistency, but it feels like the
> right thing to do, and this is a feature I suspect not many people will use
> anyway.

Hearing no other comments, I pushed 0004 as-is.  It's trivial enough
to replace "[none]" with "" if somebody makes the case for that.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] Fix build on MINGW on ARM64
Next
From: Melanie Plageman
Date:
Subject: Re: Periodic FSM vacuum doesn't happen in one-pass strategy vacuum.