Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1f56ae3

Browse filesBrowse 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
Copy full SHA for 1f56ae3

File tree

Expand file treeCollapse file tree

1 file changed

+13
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-0
lines changed

‎doc/src/sgml/ref/pgbench.sgml

Copy file name to clipboardExpand all lines: doc/src/sgml/ref/pgbench.sgml
+13Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.