Make pgbench -i emit only one-tenth as many status messages.
authorRobert Haas <rhaas@postgresql.org>
Fri, 22 Jun 2012 13:03:25 +0000 (09:03 -0400)
committerRobert 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

index f6cd4aad159a9add1a758ddf15b3cb5bd1d8e722..d3f6b515890c894befe5223b970dd5a343f75480 100644 (file)
@@ -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"))