Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 28d5c56

Browse files
committed
Wording improvements for pg_ctl manual page.
1 parent de9a4c2 commit 28d5c56

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

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

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ PostgreSQL documentation
487487
<para>
488488
The existence of this file in the data directory is used to help
489489
<application>pg_ctl</application> determine if the server is
490-
currently running or not.
490+
currently running.
491491
</para>
492492
</listitem>
493493
</varlistentry>
@@ -536,8 +536,8 @@ PostgreSQL documentation
536536
</para>
537537

538538
<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:
541541
<screen>
542542
<prompt>$</prompt> <userinput>pg_ctl -w start</userinput>
543543
</screen>
@@ -555,11 +555,12 @@ PostgreSQL documentation
555555
<refsect2 id="R2-APP-PGCTL-4">
556556
<title>Stopping the Server</title>
557557
<para>
558+
To stop the server, use:
558559
<screen>
559560
<prompt>$</prompt> <userinput>pg_ctl stop</userinput>
560561
</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.
563564
</para>
564565
</refsect2>
565566

@@ -568,7 +569,7 @@ PostgreSQL documentation
568569

569570
<para>
570571
Restarting the server is almost equivalent to stopping the
571-
server and starting it again
572+
server and starting it again,
572573
except that <command>pg_ctl</command> saves and reuses the command line options that
573574
were passed to the previously running instance. To restart
574575
the server in the simplest form, use:
@@ -579,14 +580,14 @@ PostgreSQL documentation
579580

580581
<para>
581582
To restart the server,
582-
waiting for it to shut down and come up again:
583+
waiting for it to shut down and restart:
583584
<screen>
584585
<prompt>$</prompt> <userinput>pg_ctl -w restart</userinput>
585586
</screen>
586587
</para>
587588

588589
<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:
590591
<screen>
591592
<prompt>$</prompt> <userinput>pg_ctl -o "-F -p 5433" restart</userinput>
592593
</screen>
@@ -597,7 +598,7 @@ PostgreSQL documentation
597598
<title>Showing the Server Status</title>
598599

599600
<para>
600-
Here is a sample status output from
601+
Here is sample status output from
601602
<application>pg_ctl</application>:
602603
<screen>
603604
<prompt>$</prompt> <userinput>pg_ctl status</userinput>

0 commit comments

Comments
 (0)