diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-02-25 16:07:03 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-02-25 16:07:03 +0900 |
commit | 1f56ae322943e9c9b3be4b2c480891a291861bf7 (patch) | |
tree | ac58aba4f66a5f45579428b3a993c1ef38ccf7d1 | |
parent | 9de839fb4ab08aa5e5a640b7b47c5fc9908453d3 (diff) | |
download | postgresql-1f56ae322943e9c9b3be4b2c480891a291861bf7.tar.gz postgresql-1f56ae322943e9c9b3be4b2c480891a291861bf7.zip |
doc: Mention PGDATABASE as supported by pgbench
PGHOST, PGPORT and PGUSER were already mentioned, but not PGDATABASE.
Like 5aaa584, backpatch down to 12.
Reported-by: Christophe Courtois
Discussion: https://postgr.es/m/161399398648.21711.15387267201764682579@wrigleys.postgresql.org
Backpatch-through: 12
-rw-r--r-- | doc/src/sgml/ref/pgbench.sgml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index faa7c26b0a1..2ec0580a799 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -152,6 +152,18 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d <variablelist> <varlistentry> + <term><replaceable class="parameter">dbname</replaceable></term> + <listitem> + <para> + Specifies the name of the database to test in. If this is + not specified, the environment variable + <envar>PGDATABASE</envar> is used. If that is not set, the + user name specified for the connection is used. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><option>-i</option></term> <term><option>--initialize</option></term> <listitem> @@ -900,6 +912,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d <variablelist> <varlistentry> + <term><envar>PGDATABASE</envar></term> <term><envar>PGHOST</envar></term> <term><envar>PGPORT</envar></term> <term><envar>PGUSER</envar></term> |