aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTatsuo Ishii <ishii@postgresql.org>2013-01-07 11:13:44 +0900
committerTatsuo Ishii <ishii@postgresql.org>2013-01-07 11:13:44 +0900
commitcf03ff6c4e6f3e6627ddc1cc0986b940828bcf98 (patch)
tree16878c0afd214d7f2c47fd4c3b4c562a8de93606 /doc/src
parent5aec9ccafe3b2b31b95ac69990704f260b8e1a63 (diff)
downloadpostgresql-cf03ff6c4e6f3e6627ddc1cc0986b940828bcf98.tar.gz
postgresql-cf03ff6c4e6f3e6627ddc1cc0986b940828bcf98.zip
Add new "-q" logging option (quiet mode) while in initialize mode
(-i), producing only one progress message per 5 seconds along with elapsed time and estimated remaining time. Also add elapsed time and estimated remaining time to the default logging(prints one message each 100000 rows). Patch contributed by Tomas Vondra, reviewed by Jeevan Chalke and Tatsuo Ishii.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/pgbench.sgml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/sgml/pgbench.sgml b/doc/src/sgml/pgbench.sgml
index 91530abe5b0..58686b1a8b5 100644
--- a/doc/src/sgml/pgbench.sgml
+++ b/doc/src/sgml/pgbench.sgml
@@ -190,6 +190,17 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
</varlistentry>
<varlistentry>
+ <term><option>-q</option></term>
+ <listitem>
+ <para>
+ Switch logging to quiet mode, producing only one progress message per 5
+ seconds. The default logging prints one message each 100000 rows, which
+ often outputs many lines per second (especially on good hardware).
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--foreign-keys</option></term>
<listitem>
<para>