mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Revert "pg_ctl: Add idempotent option"
This reverts commit 8730618458
. The
behavior in certain cases is still being debated, and it's too late to
solve this before beta.
This commit is contained in:
@ -39,7 +39,6 @@ PostgreSQL documentation
|
||||
<arg choice="opt"><option>-o</option> <replaceable>options</replaceable></arg>
|
||||
<arg choice="opt"><option>-p</option> <replaceable>path</replaceable></arg>
|
||||
<arg choice="opt"><option>-c</option></arg>
|
||||
<arg choice="opt"><option>-I</option></arg>
|
||||
</cmdsynopsis>
|
||||
|
||||
<cmdsynopsis>
|
||||
@ -56,7 +55,6 @@ PostgreSQL documentation
|
||||
<arg choice="plain"><option>i[mmediate]</option></arg>
|
||||
</group>
|
||||
</arg>
|
||||
<arg choice="opt"><option>-I</option></arg>
|
||||
</cmdsynopsis>
|
||||
|
||||
<cmdsynopsis>
|
||||
@ -272,25 +270,6 @@ PostgreSQL documentation
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-I</option></term>
|
||||
<term><option>--idempotent</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
When used with the <literal>start</literal> or <literal>stop</literal>
|
||||
actions, return exit code 0 if the server is already running or
|
||||
stopped, respectively. Otherwise, an error is raised and a nonzero
|
||||
exit code is returned in these cases.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This option is useful for System-V-style init scripts, which require
|
||||
the <literal>start</literal> and <literal>stop</literal> actions to be
|
||||
idempotent.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>-l <replaceable class="parameter">filename</replaceable></option></term>
|
||||
<term><option>--log <replaceable class="parameter">filename</replaceable></option></term>
|
||||
|
Reference in New Issue
Block a user