1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

pg_ctl, pg_upgrade: allow multiple -o/-O options, append them

Report by Pavel Raiskup
This commit is contained in:
Bruce Momjian
2014-08-25 16:30:26 -04:00
parent bf1c866597
commit ebe30ad59b
5 changed files with 39 additions and 8 deletions

View File

@ -130,14 +130,16 @@
<term><option>-o</option> <replaceable class="parameter">options</replaceable></term>
<term><option>--old-options</option> <replaceable class="parameter">options</replaceable></term>
<listitem><para>options to be passed directly to the
old <command>postgres</command> command</para></listitem>
old <command>postgres</command> command; multiple
option invocations are appended</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-O</option> <replaceable class="parameter">options</replaceable></term>
<term><option>--new-options</option> <replaceable class="parameter">options</replaceable></term>
<listitem><para>options to be passed directly to the
new <command>postgres</command> command</para></listitem>
new <command>postgres</command> command; multiple
option invocations are appended</para></listitem>
</varlistentry>
<varlistentry>

View File

@ -302,7 +302,8 @@ PostgreSQL documentation
<listitem>
<para>
Specifies options to be passed directly to the
<command>postgres</command> command.
<command>postgres</command> command; multiple
option invocations are appended.
</para>
<para>
The options should usually be surrounded by single or double

View File

@ -288,7 +288,8 @@ PostgreSQL documentation
class="parameter">extra-options</replaceable> are passed to
all server processes started by this
<command>postgres</command> process. If the option string contains
any spaces, the entire string must be quoted.
any spaces, the entire string must be quoted; multiple
option invocations are appended.
</para>
<para>