Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3031440

Browse files
committed
pg_waldump: Don't call XLogDumpDisplayStats() if -q is specified.
Commit ac44367 introduced this problem. Report and fix by Fujii Masao. Discussion: http://postgr.es/m/d332b8f0-0c72-3cd6-6945-7a86a503662a@oss.nttdata.com
1 parent c12e43a commit 3031440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_waldump/pg_waldump.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ main(int argc, char **argv)
10981098
break;
10991099
}
11001100

1101-
if (config.stats == true)
1101+
if (config.stats == true && !config.quiet)
11021102
XLogDumpDisplayStats(&config, &stats);
11031103

11041104
if (errormsg)

0 commit comments

Comments
 (0)