Skip to content

Commit 766b0bb

Browse files
committed
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.
1 parent 71d2157 commit 766b0bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.29 2004/11/27 21:56:05 petere Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.30 2004/12/22 02:17:15 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -237,7 +237,9 @@ PostgreSQL documentation
237237
has been set in the <filename>postgresql.conf</filename> file.
238238
If neither of those is used, it will use the default port that
239239
<productname>PostgreSQL</productname> was compiled with
240-
(5432 by default).
240+
(5432 by default). When waiting, <command>pg_ctl</command> will
241+
return an accurate exit code based on the success of the startup
242+
or shutdown.
241243
</para>
242244
</listitem>
243245
</varlistentry>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy