diff options
| author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2010-10-15 14:30:03 -0300 |
|---|---|---|
| committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2010-10-15 14:30:03 -0300 |
| commit | 0c9b166db5329119b6553e0f38fe486521f1352f (patch) | |
| tree | bbe527c480fbf2c9abbe144ff9f7fb0be9cad097 /doc/src/sgml/ref | |
| parent | 0e7f7071e893bb171150e53271404b0819a40669 (diff) | |
Allow pg_ctl to register the service in either AUTO or DEMAND start type
Author: Quan Zongliang
Documentation updates by David Fetter
Diffstat (limited to 'doc/src/sgml/ref')
| -rw-r--r-- | doc/src/sgml/ref/pg_ctl-ref.sgml | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 31a1262fca4..29bea24cdd4 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -102,6 +102,12 @@ PostgreSQL documentation <arg>-U <replaceable>username</replaceable></arg> <arg>-P <replaceable>password</replaceable></arg> <arg>-D <replaceable>datadir</replaceable></arg> + <arg>-S + <group choice="plain"> + <arg>a[uto]</arg> + <arg>d[emand]</arg> + </group> + </arg> <arg>-w</arg> <arg>-t <replaceable>seconds</replaceable></arg> <arg>-o <replaceable>options</replaceable></arg> @@ -203,7 +209,9 @@ PostgreSQL documentation <para> <option>register</option> mode allows you to register a system service - on <productname>Microsoft Windows</>. + on <productname>Microsoft Windows</>. The <option>-S</option> option + allows selection of service start type, either <quote>auto</quote> (start + service automatically on system startup), on <quote>demand</quote>. </para> <para> @@ -261,7 +269,7 @@ PostgreSQL documentation Specifies the shutdown mode. <replaceable>mode</replaceable> can be <literal>smart</literal>, <literal>fast</literal>, or <literal>immediate</literal>, or the first letter of one of - these three. + these three. If this is omitted, <literal>smart</literal> is used. </para> </listitem> </varlistentry> @@ -384,6 +392,18 @@ PostgreSQL documentation </para> </listitem> </varlistentry> + + <varlistentry> + <term><option>-S <replaceable class="parameter">start-type</replaceable></option></term> + <listitem> + <para> + Start type of the system service to register. start-type can + be <literal>auto</literal>, or <literal>demand</literal>, or + the first letter of one of these two. If this is omitted, + <literal>auto</literal> is used. + </para> + </listitem> + </varlistentry> </variablelist> </refsect2> |
