@@ -487,7 +487,7 @@ PostgreSQL documentation
487
487
<para>
488
488
The existence of this file in the data directory is used to help
489
489
<application>pg_ctl</application> determine if the server is
490
- currently running or not .
490
+ currently running.
491
491
</para>
492
492
</listitem>
493
493
</varlistentry>
@@ -536,8 +536,8 @@ PostgreSQL documentation
536
536
</para>
537
537
538
538
<para>
539
- An example of starting the server, blocking until the server has
540
- come up is :
539
+ An example of starting the server, and waiting until the server is
540
+ accepting connection :
541
541
<screen>
542
542
<prompt>$</prompt> <userinput>pg_ctl -w start</userinput>
543
543
</screen>
@@ -555,11 +555,12 @@ PostgreSQL documentation
555
555
<refsect2 id="R2-APP-PGCTL-4">
556
556
<title>Stopping the Server</title>
557
557
<para>
558
+ To stop the server, use:
558
559
<screen>
559
560
<prompt>$</prompt> <userinput>pg_ctl stop</userinput>
560
561
</screen>
561
- stops the server. Using the <option>-m</option> switch allows one
562
- to control <emphasis>how</emphasis> the backend shuts down.
562
+ The <option>-m</option> option allows control over
563
+ <emphasis>how</emphasis> the server shuts down.
563
564
</para>
564
565
</refsect2>
565
566
@@ -568,7 +569,7 @@ PostgreSQL documentation
568
569
569
570
<para>
570
571
Restarting the server is almost equivalent to stopping the
571
- server and starting it again
572
+ server and starting it again,
572
573
except that <command>pg_ctl</command> saves and reuses the command line options that
573
574
were passed to the previously running instance. To restart
574
575
the server in the simplest form, use:
@@ -579,14 +580,14 @@ PostgreSQL documentation
579
580
580
581
<para>
581
582
To restart the server,
582
- waiting for it to shut down and come up again :
583
+ waiting for it to shut down and restart :
583
584
<screen>
584
585
<prompt>$</prompt> <userinput>pg_ctl -w restart</userinput>
585
586
</screen>
586
587
</para>
587
588
588
589
<para>
589
- To restart using port 5433 and disabling <function>fsync</> after restarting :
590
+ To restart using port 5433 and disabe <function>fsync</> upon restart :
590
591
<screen>
591
592
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" restart</userinput>
592
593
</screen>
@@ -597,7 +598,7 @@ PostgreSQL documentation
597
598
<title>Showing the Server Status</title>
598
599
599
600
<para>
600
- Here is a sample status output from
601
+ Here is sample status output from
601
602
<application>pg_ctl</application>:
602
603
<screen>
603
604
<prompt>$</prompt> <userinput>pg_ctl status</userinput>
0 commit comments