pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: postmaster: Reduce verbosity of environment dump debug message
Date: Wed, 27 Nov 2024 16:18:01 +0000
Message-ID: <E1tGKjp-003m0G-Qp@gemulon.postgresql.org> (raw)

postmaster: Reduce verbosity of environment dump debug message

Emitting each variable separately is unnecessarily verbose / hard to skim
over. Emit the whole thing in one ereport() to address that.

Also remove program name and function reference from the message. The former
doesn't seem particularly helpful and the latter is provided by the elog.c
infrastructure these days.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/leouteo5ozcrux3fepuhtbp6c56tbfd4naxeokidbx7m75cabz@hhw6g4urlowt

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a5bcf7f7dd1e3c1c669912d82591397dbe24a10

Modified Files
--------------
src/backend/postmaster/postmaster.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)



Message-ID: <E1tGKjp-003m0G-Qp@gemulon.postgresql.org>
Permalink:  ../E1tGKjp-003m0G-Qp@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tGKjp-003m0G-Qp@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: postmaster: Reduce verbosity of environment dump debug message
  In-Reply-To: <E1tGKjp-003m0G-Qp@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox