We used to print this information only in verbose mode, but it's argued that it's useful enough to print always; one reason being that this provides some documentation about which Postgres versions the dump is meant to reload into.
Jing Wang, reviewed by Jeevan Chalke
7700597 In pg_dump, show server and pg_dump versions with or without --verbose.
src/bin/pg_dump/pg_backup_archiver.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Upstream: git.postgresql.org