From 766b0bbb4d1441d481e392e86cdd3171fde6aefe Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 22 Dec 2004 02:17:15 +0000
Subject: [PATCH] Add mention that pg_ctl will return an accurate exit code
 when waiting for startup or shutdown.  We have always done this but it wasn't
 documented.

---
 doc/src/sgml/ref/pg_ctl-ref.sgml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index e61b2713628..7b9caf55127 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -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>
-- 
GitLab