1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

pg_waldump: Don't call XLogDumpDisplayStats() if -q is specified.

Commit ac44367efb introduced this
problem.

Report and fix by Fujii Masao.

Discussion: http://postgr.es/m/d332b8f0-0c72-3cd6-6945-7a86a503662a@oss.nttdata.com
This commit is contained in:
Robert Haas
2020-04-03 11:58:58 -04:00
parent c12e43a2e0
commit 3031440e98

View File

@ -1098,7 +1098,7 @@ main(int argc, char **argv)
break;
}
if (config.stats == true)
if (config.stats == true && !config.quiet)
XLogDumpDisplayStats(&config, &stats);
if (errormsg)