1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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.
This commit is contained in:
Bruce Momjian
2004-12-22 02:17:15 +00:00
parent 71d21577de
commit 766b0bbb4d

View 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 PostgreSQL documentation
--> -->
@ -237,7 +237,9 @@ PostgreSQL documentation
has been set in the <filename>postgresql.conf</filename> file. has been set in the <filename>postgresql.conf</filename> file.
If neither of those is used, it will use the default port that If neither of those is used, it will use the default port that
<productname>PostgreSQL</productname> was compiled with <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> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>