Commit 3031440e authored by Robert Haas's avatar Robert Haas

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

Commit ac44367e introduced this
problem.

Report and fix by Fujii Masao.

Discussion: http://postgr.es/m/d332b8f0-0c72-3cd6-6945-7a86a503662a@oss.nttdata.com
parent c12e43a2
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment