]> granicus.if.org Git - postgresql/commitdiff
Add mention that pg_ctl will return an accurate exit code when waiting
authorBruce Momjian <bruce@momjian.us>
Wed, 22 Dec 2004 02:17:15 +0000 (02:17 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 22 Dec 2004 02:17:15 +0000 (02:17 +0000)
for startup or shutdown.  We have always done this but it wasn't documented.

doc/src/sgml/ref/pg_ctl-ref.sgml

index e61b2713628e0c1eb34d5a51ab4efb014b904128..7b9caf551271214764972fc446a23d381127b65b 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.29 2004/11/27 21:56:05 petere Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.30 2004/12/22 02:17:15 momjian Exp $
 PostgreSQL documentation
 -->
 
@@ -237,7 +237,9 @@ PostgreSQL documentation
         has been set in the <filename>postgresql.conf</filename> file. 
         If neither of those is used, it will use the default port that 
         <productname>PostgreSQL</productname> was compiled with 
-        (5432 by default).
+        (5432 by default). When waiting, <command>pg_ctl</command> will
+        return an accurate exit code based on the success of the startup 
+       or shutdown.
        </para>
       </listitem>
      </varlistentry>