pgsql: postmaster: Reduce verbosity of environment dump debug message - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: postmaster: Reduce verbosity of environment dump debug message
Date
Msg-id E1tGKjp-003m0G-Qp@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: file_fdw: Add regression tests for ON_ERROR and other options.
Next
From: Nathan Bossart
Date:
Subject: pgsql: Look up backend type in pg_signal_backend() more cheaply.