mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +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:
@@ -47,15 +47,11 @@ PostgreSQL documentation
|
||||
<term><option>--dbname=<replaceable class="parameter">dbname</replaceable></option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specifies the name of the database to connect to.
|
||||
</para>
|
||||
<para>
|
||||
If this parameter contains an <symbol>=</symbol> sign or starts
|
||||
with a valid <acronym>URI</acronym> prefix
|
||||
(<literal>postgresql://</literal>
|
||||
or <literal>postgres://</literal>), it is treated as a
|
||||
<parameter>conninfo</parameter> string. See <xref
|
||||
linkend="libpq-connstring"/> for more information.
|
||||
Specifies the name of the database to connect to. The
|
||||
<replaceable>dbname</replaceable> can be a <link
|
||||
linkend="libpq-connstring">connection string</link>. If so,
|
||||
connection string parameters will override any conflicting command
|
||||
line options.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user