Skip to content

Commit a6f8dc4

Browse files
committed
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
1 parent e5d8a99 commit a6f8dc4

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/src/sgml/ref/pgbench.sgml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,18 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
151151

152152
<variablelist>
153153

154+
<varlistentry>
155+
<term><replaceable class="parameter">dbname</replaceable></term>
156+
<listitem>
157+
<para>
158+
Specifies the name of the database to test in. If this is
159+
not specified, the environment variable
160+
<envar>PGDATABASE</envar> is used. If that is not set, the
161+
user name specified for the connection is used.
162+
</para>
163+
</listitem>
164+
</varlistentry>
165+
154166
<varlistentry>
155167
<term><option>-i</option></term>
156168
<term><option>--initialize</option></term>
@@ -900,6 +912,7 @@ pgbench <optional> <replaceable>options</replaceable> </optional> <replaceable>d
900912

901913
<variablelist>
902914
<varlistentry>
915+
<term><envar>PGDATABASE</envar></term>
903916
<term><envar>PGHOST</envar></term>
904917
<term><envar>PGPORT</envar></term>
905918
<term><envar>PGUSER</envar></term>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy