aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-06-22 09:03:25 -0400
committerRobert Haas <rhaas@postgresql.org>2012-06-22 09:03:25 -0400
commit47c7365e794a0a57382efefbf1f2b062c7a3e3d3 (patch)
treeb1eaa69bfa2bf3b6749fbf768285dbedf6a4c70e
parent6ef5baf8b1cb609218b2fafb378b3f190a6f90f9 (diff)
downloadpostgresql-47c7365e794a0a57382efefbf1f2b062c7a3e3d3.tar.gz
postgresql-47c7365e794a0a57382efefbf1f2b062c7a3e3d3.zip
Make pgbench -i emit only one-tenth as many status messages.
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.
-rw-r--r--contrib/pgbench/pgbench.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c
index f6cd4aad159..d3f6b515890 100644
--- a/contrib/pgbench/pgbench.c
+++ b/contrib/pgbench/pgbench.c
@@ -1399,7 +1399,7 @@ init(void)
exit(1);
}
- if (j % 10000 == 0)
+ if (j % 100000 == 0)
fprintf(stderr, "%d tuples done.\n", j);
}
if (PQputline(con, "\\.\n"))