From 1bac5f552a25aca3aa2ef1d404f7cdf7788c34d8 Mon Sep 17 00:00:00 2001
From: Peter Eisentraut
Date: Mon, 1 May 2017 12:10:17 -0400
Subject: pg_ctl: Make failure to complete operation a nonzero exit
If an operation being waited for does not complete within the timeout,
then exit with a nonzero exit status. This was previously handled
inconsistently.
---
doc/src/sgml/ref/pg_ctl-ref.sgml | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'doc/src')
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 71e52c4c35..12fa011c4e 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -412,6 +412,13 @@ PostgreSQL documentation
pg_ctl returns an exit code based on the
success of the startup or shutdown.
+
+
+ If the operation does not complete within the timeout (see
+ option ), then pg_ctl exits with
+ a nonzero exit status. But note that the operation might continue in
+ the background and eventually succeed.
+
--
cgit v1.2.3