projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ef5baf
)
Make pgbench -i emit only one-tenth as many status messages.
author
Robert Haas
<rhaas@postgresql.org>
Fri, 22 Jun 2012 13:03:25 +0000
(09:03 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Fri, 22 Jun 2012 13:03:25 +0000
(09:03 -0400)
These days, even a wimpy system can insert 10000 tuples in the blink of
an eye, so there's no real need for this much verbosity.
Per complaint from Tatsuo Ishii.
contrib/pgbench/pgbench.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pgbench/pgbench.c
b/contrib/pgbench/pgbench.c
index f6cd4aad159a9add1a758ddf15b3cb5bd1d8e722..d3f6b515890c894befe5223b970dd5a343f75480 100644
(file)
--- a/
contrib/pgbench/pgbench.c
+++ b/
contrib/pgbench/pgbench.c
@@
-1399,7
+1399,7
@@
init(void)
exit(1);
}
- if (j % 10000 == 0)
+ if (j % 10000
0
== 0)
fprintf(stderr, "%d tuples done.\n", j);
}
if (PQputline(con, "\\.\n"))