Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1f56ae3

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 9de839f commit 1f56ae3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/src/sgml/ref/pgbench.sgml

+13
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)