1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

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
This commit is contained in:
Tom Lane 2018-01-23 12:41:35 -05:00
parent f9bbd46adb
commit c9707d9413

View File

@ -405,10 +405,12 @@ PostgreSQL documentation
</para> </para>
<para> <para>
When waiting for startup, <command>pg_ctl</command> repeatedly When waiting, <command>pg_ctl</command> repeatedly checks the
attempts to connect to the server. server's <acronym>PID</acronym> file, sleeping for a short amount
When waiting for shutdown, <command>pg_ctl</command> waits for of time between checks. Startup is considered complete when
the server to remove its <acronym>PID</acronym> file. 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 <command>pg_ctl</command> returns an exit code based on the
success of the startup or shutdown. success of the startup or shutdown.
</para> </para>