aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2019-07-16 11:53:12 +1200
committerThomas Munro <tmunro@postgresql.org>2019-07-16 11:57:49 +1200
commit5823677acc567d7790cc68972de12f6718913d7d (patch)
treee2960adc10b7e79eedc8f267fabfa53ca236465e /doc/src
parentce8f946764005e1bde5a538542205e55f81bb6cc (diff)
downloadpostgresql-5823677acc567d7790cc68972de12f6718913d7d.tar.gz
postgresql-5823677acc567d7790cc68972de12f6718913d7d.zip
Provide pgbench --show-script to dump built-in scripts.
Author: Fabien Coelho Reviewed-by: Ibrar Ahmed Discussion: https://postgr.es/m/alpine.DEB.2.21.1904081737390.5867%40lancre
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pgbench.sgml11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml
index 09af9f1a7dc..816f9cc4c7e 100644
--- a/doc/src/sgml/ref/pgbench.sgml
+++ b/doc/src/sgml/ref/pgbench.sgml
@@ -355,7 +355,6 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
</listitem>
</varlistentry>
-
<varlistentry>
<term><option>-c</option> <replaceable>clients</replaceable></term>
<term><option>--client=</option><replaceable>clients</replaceable></term>
@@ -618,6 +617,16 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
</varlistentry>
<varlistentry>
+ <term><option>--show-script</option><replaceable>scriptname</replaceable></term>
+ <listitem>
+ <para>
+ Show the actual code of builtin script <replaceable>scriptname</replaceable>
+ on stderr, and exit immediately.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-t</option> <replaceable>transactions</replaceable></term>
<term><option>--transactions=</option><replaceable>transactions</replaceable></term>
<listitem>