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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy