diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index e61b2713628..7b9caf55127 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -1,5 +1,5 @@ @@ -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.