mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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:
@ -1098,7 +1098,7 @@ main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.stats == true)
|
if (config.stats == true && !config.quiet)
|
||||||
XLogDumpDisplayStats(&config, &stats);
|
XLogDumpDisplayStats(&config, &stats);
|
||||||
|
|
||||||
if (errormsg)
|
if (errormsg)
|
||||||
|
Reference in New Issue
Block a user