pgsql: postmaster: Reduce verbosity of environment dump debug message

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postmaster: Reduce verbosity of environment dump debug message
Date: 2024-11-27 16:18:01
Message-ID: E1tGKjp-003m0G-Qp@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)iki(dot)fi>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2024-11-27 16:34:28 pgsql: Look up backend type in pg_signal_backend() more cheaply.
Previous Message Fujii Masao 2024-11-27 14:41:23 pgsql: file_fdw: Add regression tests for ON_ERROR and other options.