diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-01-23 12:41:35 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-01-23 12:41:53 -0500 |
commit | 5ca17d655f96fd442b6857f26f5660f541d93c38 (patch) | |
tree | a1856590f3829bd9e8844156aae07d18aafa0e15 | |
parent | 383e4268ff8c5a521b9fec37c017380852b4a19a (diff) | |
download | postgresql-5ca17d655f96fd442b6857f26f5660f541d93c38.tar.gz postgresql-5ca17d655f96fd442b6857f26f5660f541d93c38.zip |
Documentation fix: pg_ctl no longer makes connection attempts.
Overlooked in commit f13ea95f9. Noted by Nick Barnes.
Discussion: https://postgr.es/m/20180123093723.7407.3386@wrigleys.postgresql.org
-rw-r--r-- | doc/src/sgml/ref/pg_ctl-ref.sgml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index 12fa011c4e5..59b04f72747 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -405,10 +405,12 @@ PostgreSQL documentation </para> <para> - When waiting for startup, <command>pg_ctl</command> repeatedly - attempts to connect to the server. - When waiting for shutdown, <command>pg_ctl</command> waits for - the server to remove its <acronym>PID</acronym> file. + When waiting, <command>pg_ctl</command> repeatedly checks the + server's <acronym>PID</acronym> file, sleeping for a short amount + of time between checks. Startup is considered complete when + the <acronym>PID</acronym> file indicates that the server is ready to + accept connections. Shutdown is considered complete when the server + removes the <acronym>PID</acronym> file. <command>pg_ctl</command> returns an exit code based on the success of the startup or shutdown. </para> |