postmaster: Reduce verbosity of environment dump debug message
authorAndres Freund <andres@anarazel.de>
Wed, 27 Nov 2024 16:17:23 +0000 (11:17 -0500)
committerAndres Freund <andres@anarazel.de>
Wed, 27 Nov 2024 16:17:23 +0000 (11:17 -0500)
commit6a5bcf7f7dd1e3c1c669912d82591397dbe24a10
tree3b07e0f44f397e6db82da11e6807efc284d9e441
parent631db1d4b251a500e22743fc3eec9fb8724baf67
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
src/backend/postmaster/postmaster.c