mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 00:01:57 -04:00
pg_waldump: Don't call XLogDumpDisplayStats() if -q is specified.
Commit ac44367efbef198c57a18b96dbc6a39191720994 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
@ -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…
x
Reference in New Issue
Block a user