mirror of
https://github.com/postgres/postgres.git
synced 2026-03-03 05:40:43 -05: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:
parent
c12e43a2e0
commit
3031440e98
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue