1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-22 17:42:17 +03:00

doc: libpq connection options can override command-line flags

Reported-by: Alexander Lakhin

Discussion: https://postgr.es/m/16486-b9c93d71c02c4907@postgresql.org

Backpatch-through: 9.5
This commit is contained in:
Bruce Momjian
2020-10-02 22:19:31 -04:00
parent 472e518a44
commit 1a9388bd0f
11 changed files with 53 additions and 47 deletions

View File

@@ -252,8 +252,9 @@ PostgreSQL documentation
<term><option>--dbname=<replaceable class="parameter">connstr</replaceable></option></term>
<listitem>
<para>
Specifies parameters used to connect to the server, as a connection
string. See <xref linkend="libpq-connstring"/> for more information.
Specifies parameters used to connect to the server, as a <link
linkend="libpq-connstring">connction string</link>; these
will override any conflicting command line options.
</para>
<para>
The option is called <literal>--dbname</literal> for consistency with other