diff --git a/doc/src/sgml/ref/clusterdb.sgml b/doc/src/sgml/ref/clusterdb.sgml
index c13d74853eb..8e4f9c9cbbf 100644
--- a/doc/src/sgml/ref/clusterdb.sgml
+++ b/doc/src/sgml/ref/clusterdb.sgml
@@ -95,7 +95,10 @@ PostgreSQL documentation
) is not used, the database name is read
from the environment variable PGDATABASE. If
that is not set, the user name specified for the connection is
- used.
+ used. 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/pg_basebackup.sgml b/doc/src/sgml/ref/pg_basebackup.sgml
index 134b2982368..390e860240d 100644
--- a/doc/src/sgml/ref/pg_basebackup.sgml
+++ b/doc/src/sgml/ref/pg_basebackup.sgml
@@ -444,8 +444,9 @@ PostgreSQL documentation
- Specifies parameters used to connect to the server, as a connection
- string. See for more information.
+ Specifies parameters used to connect to the server, as a connction string; these
+ will override any conflicting command line options.
The option is called --dbname> for consistency with other
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 659cdd77aa0..ee5b9dc12ce 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -979,14 +979,10 @@ PostgreSQL documentation
Specifies the name of the database to connect to. This is
equivalent to specifying dbname as the first non-option
- argument on the command line.
-
-
- If this parameter contains an = sign or starts
- with a valid URI prefix
- (postgresql://
- or postgres://), it is treated as a
- conninfo string. See for more information.
+ argument on the command line. 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/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml
index 10c74427b17..ef2f422e0b0 100644
--- a/doc/src/sgml/ref/pg_dumpall.sgml
+++ b/doc/src/sgml/ref/pg_dumpall.sgml
@@ -419,8 +419,9 @@ PostgreSQL documentation
- Specifies parameters used to connect to the server, as a connection
- string. See for more information.
+ Specifies parameters used to connect to the server, as a connction string; these
+ will override any conflicting command line options.
The option is called --dbname> for consistency with other
diff --git a/doc/src/sgml/ref/pg_isready.sgml b/doc/src/sgml/ref/pg_isready.sgml
index 2ee79a0bbeb..f966d0feed4 100644
--- a/doc/src/sgml/ref/pg_isready.sgml
+++ b/doc/src/sgml/ref/pg_isready.sgml
@@ -47,15 +47,11 @@ PostgreSQL documentation
- Specifies the name of the database to connect to.
-
-
- If this parameter contains an = sign or starts
- with a valid URI prefix
- (postgresql://
- or postgres://), it is treated as a
- conninfo string. See for more information.
+ Specifies the name of the database to connect to. 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/pg_recvlogical.sgml b/doc/src/sgml/ref/pg_recvlogical.sgml
index b35881f2b9e..3751863cefd 100644
--- a/doc/src/sgml/ref/pg_recvlogical.sgml
+++ b/doc/src/sgml/ref/pg_recvlogical.sgml
@@ -239,14 +239,16 @@ PostgreSQL documentation
-
-
+
+
- The database to connect to. See the description of the actions for
- what this means in detail. This can be a libpq connection string;
- see for more information. Defaults
- to user name.
+ The database to connect to. See the description
+ of the actions for what this means in detail.
+ The dbname can be a connection string. If so,
+ connection string parameters will override any conflicting
+ command line options. Defaults to the user name.
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml
index 3c23d1c0b0c..71a8d012020 100644
--- a/doc/src/sgml/ref/pg_restore.sgml
+++ b/doc/src/sgml/ref/pg_restore.sgml
@@ -145,7 +145,10 @@ PostgreSQL documentation
Connect to database dbname and restore directly
- into the database.
+ into the database. 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/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 858e3c5ff55..2f944b1e975 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -156,15 +156,10 @@ EOF
Specifies the name of the database to connect to. This is
equivalent to specifying dbname as the first non-option
- argument on the command line.
-
-
- If this parameter contains an = sign or starts
- with a valid URI prefix
- (postgresql://
- or postgres://), it is treated as a
- conninfo string. See for more information.
+ argument on the command line. The dbname
+ can be a connection string.
+ If so, connection string parameters will override any conflicting
+ command line options.
@@ -477,7 +472,7 @@ EOF
Never issue a password prompt. If the server requires password
- authentication and a password is not available by other means
+ authentication and a password is not available from other sources
such as a .pgpass file, the connection
attempt will fail. This option can be useful in batch jobs and
scripts where no user is present to enter a password.
@@ -497,13 +492,15 @@ EOF
Force psql to prompt for a
- password before connecting to a database.
+ password before connecting to a database, even if the password will
+ not be used.
- This option is never essential, since psql
- will automatically prompt for a password if the server demands
- password authentication. However, psql
+ If the server requires password authentication and a password is not
+ available from other sources such as a .pgpass
+ file, psql will prompt for a
+ password in any case. However, psql
will waste a connection attempt finding out that the server wants a
password. In some cases it is worth typing ) is not used, the database name is read
from the environment variable PGDATABASE. If
that is not set, the user name specified for the connection is
- used.
+ used. 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 92b8984b7a6..f8e2e1a9447 100644
--- a/doc/src/sgml/ref/vacuumdb.sgml
+++ b/doc/src/sgml/ref/vacuumdb.sgml
@@ -97,7 +97,10 @@ PostgreSQL documentation
) is not used, the database name is read
from the environment variable PGDATABASE. If
that is not set, the user name specified for the connection is
- used.
+ used. The dbname can be a connection string. If so,
+ connection string parameters will override any conflicting command
+ line options.