From: Bruce Momjian Date: Wed, 22 Dec 2004 02:17:15 +0000 (+0000) Subject: Add mention that pg_ctl will return an accurate exit code when waiting X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=62782d97edb1fd4db41f6dfb1fdf5ae31d341adf;p=users%2Fbernd%2Fpostgres.git 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. --- diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 3cf37cfdae..803dd4b827 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -237,7 +237,9 @@ PostgreSQL documentation has been set in the postgresql.conf file. If neither of those is used, it will use the default port that PostgreSQL was compiled with - (5432 by default). + (5432 by default). When waiting, pg_ctl will + return an accurate exit code based on the success of the startup + or shutdown.