doc: Mention PGDATABASE as supported by pgbench
authorMichael Paquier
Thu, 25 Feb 2021 07:06:54 +0000 (16:06 +0900)
committerMichael Paquier
Thu, 25 Feb 2021 07:06:54 +0000 (16:06 +0900)
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

doc/src/sgml/ref/pgbench.sgml

index faa7c26b0a1fd500ae2b75f9f3e0cbbd4541e1de..2ec0580a7999c5b0fa504e9cd85d29d400d5f15f 100644 (file)
@@ -151,6 +151,18 @@ pgbench  options  d
 
     
 
+     
+      dbname
+      
+       
+        Specifies the name of the database to test in. If this is
+        not specified, the environment variable
+        PGDATABASE is used. If that is not set, the
+        user name specified for the connection is used.
+       
+      
+     
+
      
       
       
@@ -900,6 +912,7 @@ pgbench  options  d
 
   
    
+    PGDATABASE
     PGHOST
     PGPORT
     PGUSER