From 67169a6bb52c15ea3edabfce819d202a73f96b44 Mon Sep 17 00:00:00 2001 From: Hayato Kuroda Date: Wed, 22 Jan 2025 10:46:36 +0900 Subject: [PATCH 2/2] Unify descriptions when dbname is not specified --- doc/src/sgml/ref/clusterdb.sgml | 6 +++--- doc/src/sgml/ref/reindexdb.sgml | 6 +++--- doc/src/sgml/ref/vacuumdb.sgml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/src/sgml/ref/clusterdb.sgml b/doc/src/sgml/ref/clusterdb.sgml index d3145318b3..aee54bc93a 100644 --- a/doc/src/sgml/ref/clusterdb.sgml +++ b/doc/src/sgml/ref/clusterdb.sgml @@ -92,9 +92,9 @@ PostgreSQL documentation Specifies the name of the database to be clustered, when / is not used. If this is not specified, the database name is read - from the environment variable PGDATABASE. If - that is not set, the user name specified for the connection is - used. The dbname can be a PGDATABASE. The default + is to create a database with the same name as the current system user. + The dbname can be a connection string. If so, connection string parameters will override any conflicting command line options. diff --git a/doc/src/sgml/ref/reindexdb.sgml b/doc/src/sgml/ref/reindexdb.sgml index 98c3333228..7d1820dff2 100644 --- a/doc/src/sgml/ref/reindexdb.sgml +++ b/doc/src/sgml/ref/reindexdb.sgml @@ -129,9 +129,9 @@ PostgreSQL documentation Specifies the name of the database to be reindexed, when / is not used. If this is not specified, the database name is read - from the environment variable PGDATABASE. If - that is not set, the user name specified for the connection is - used. The dbname can be a PGDATABASE. The default + is to create a database with the same name as the current system user. + The dbname can be a connection string. If so, connection string parameters will override any conflicting command line options. diff --git a/doc/src/sgml/ref/vacuumdb.sgml b/doc/src/sgml/ref/vacuumdb.sgml index 66fccb30a2..1cd1e85cae 100644 --- a/doc/src/sgml/ref/vacuumdb.sgml +++ b/doc/src/sgml/ref/vacuumdb.sgml @@ -152,9 +152,9 @@ PostgreSQL documentation Specifies the name of the database to be cleaned or analyzed, when / is not used. If this is not specified, the database name is read - from the environment variable PGDATABASE. If - that is not set, the user name specified for the connection is - used. The dbname can be a PGDATABASE. The default + is to create a database with the same name as the current system user. + The dbname can be a connection string. If so, connection string parameters will override any conflicting command line options. -- 2.43.5