Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commita6f8dc4

Browse files
committed
doc: Mention PGDATABASE as supported by pgbench
PGHOST, PGPORT and PGUSER were already mentioned, but not PGDATABASE.Like5aaa584, backpatch down to 12.Reported-by: Christophe CourtoisDiscussion:https://postgr.es/m/161399398648.21711.15387267201764682579@wrigleys.postgresql.orgBackpatch-through: 12
1 parente5d8a99 commita6f8dc4

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)

[8]ページ先頭

©2009-2025 Movatter.jp