]> granicus.if.org Git - postgresql/commitdiff
Documentation fix: pg_ctl no longer makes connection attempts.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Jan 2018 17:41:35 +0000 (12:41 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 23 Jan 2018 17:41:53 +0000 (12:41 -0500)
Overlooked in commit f13ea95f9.  Noted by Nick Barnes.

Discussion: https://postgr.es/m/20180123093723.7407.3386@wrigleys.postgresql.org

doc/src/sgml/ref/pg_ctl-ref.sgml

index 12fa011c4e59c92ba8755c082ba53e0a8c6fca71..59b04f72747402ffd5a31a0b3f416c6741f9e976 100644 (file)
@@ -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>