diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml index c00e63ed96..2c01e1273d 100644 --- a/doc/src/sgml/ref/pg_ctl-ref.sgml +++ b/doc/src/sgml/ref/pg_ctl-ref.sgml @@ -487,7 +487,7 @@ PostgreSQL documentation The existence of this file in the data directory is used to help pg_ctl determine if the server is - currently running or not. + currently running. @@ -536,8 +536,8 @@ PostgreSQL documentation - An example of starting the server, blocking until the server has - come up is: + An example of starting the server, and waiting until the server is + accepting connection: $ pg_ctl -w start @@ -555,11 +555,12 @@ PostgreSQL documentation Stopping the Server + To stop the server, use: $ pg_ctl stop - stops the server. Using the switch allows one - to control how the backend shuts down. + The option allows control over + how the server shuts down. @@ -568,7 +569,7 @@ PostgreSQL documentation Restarting the server is almost equivalent to stopping the - server and starting it again + server and starting it again, except that pg_ctl saves and reuses the command line options that were passed to the previously running instance. To restart the server in the simplest form, use: @@ -579,14 +580,14 @@ PostgreSQL documentation To restart the server, - waiting for it to shut down and come up again: + waiting for it to shut down and restart: $ pg_ctl -w restart - To restart using port 5433 and disabling fsync after restarting: + To restart using port 5433 and disabe fsync upon restart: $ pg_ctl -o "-F -p 5433" restart @@ -597,7 +598,7 @@ PostgreSQL documentation Showing the Server Status - Here is a sample status output from + Here is sample status output from pg_ctl: $ pg_ctl status