mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
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.
This commit is contained in:
parent
6ef5baf8b1
commit
47c7365e79
@ -1399,7 +1399,7 @@ init(void)
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (j % 10000 == 0)
|
if (j % 100000 == 0)
|
||||||
fprintf(stderr, "%d tuples done.\n", j);
|
fprintf(stderr, "%d tuples done.\n", j);
|
||||||
}
|
}
|
||||||
if (PQputline(con, "\\.\n"))
|
if (PQputline(con, "\\.\n"))
|
||||||
|
Loading…
Reference in New Issue
Block a user