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

From Greg Sabino Mullane
Subject Re: Logging which local address was connected to in log_line_prefix
Date
Msg-id CAKAnmmKQfoud2PjWtY6j4BhgpKhimbCMZry_NXq7UDtT2TFPDg@mail.gmail.com
Whole thread Raw
In response to Re: Logging which local address was connected to in log_line_prefix  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Logging which local address was connected to in log_line_prefix
Re: Logging which local address was connected to in log_line_prefix
List pgsql-hackers


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.

--
Cheers,
Greg

--
Enterprise Postgres Software Products & Tech Support

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Possibly hard-to-read message
Next
From: Michael Paquier
Date:
Subject: Re: per backend WAL statistics