diff options
author | Peter Eisentraut | 2017-05-01 16:10:17 +0000 |
---|---|---|
committer | Peter Eisentraut | 2017-07-05 17:37:08 +0000 |
commit | 1bac5f552a25aca3aa2ef1d404f7cdf7788c34d8 (patch) | |
tree | 5ddec3336e872013219fbd4b204cf04a2377d270 /doc/src | |
parent | d80e73f2293429cf8a0a13c243852379ec2e37e2 (diff) |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_ctl-ref.sgml | 7 |
1 files changed, 7 insertions, 0 deletions
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 <command>pg_ctl</command> returns an exit code based on the success of the startup or shutdown. </para> + + <para> + If the operation does not complete within the timeout (see + option <option>-t</option>), then <command>pg_ctl</command> exits with + a nonzero exit status. But note that the operation might continue in + the background and eventually succeed. + </para> </listitem> </varlistentry> |