From 9e9b5c05010d25e16e04c8c282a52626650ae233 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 25 Feb 2021 16:07:08 +0900 Subject: [PATCH] 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 --- doc/src/sgml/ref/pgbench.sgml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 02ea7e026d..6e0b4a589c 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -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. + + + + @@ -841,6 +853,7 @@ pgbench options d + PGDATABASE PGHOST PGPORT PGUSER