1
1
<!--
2
- $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.8 2001/09/03 12:57:50 petere Exp $
2
+ $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_ctl-ref.sgml,v 1.9 2001/09/21 21:10:56 tgl Exp $
3
3
Postgres documentation
4
4
-->
5
5
@@ -58,6 +58,11 @@ Postgres documentation
58
58
<arg>-o <replaceable>options</replaceable></arg>
59
59
<sbr>
60
60
<command>pg_ctl</command>
61
+ <arg choice="plain">reload</arg>
62
+ <arg>-s</arg>
63
+ <arg>-D <replaceable>datadir</replaceable></arg>
64
+ <sbr>
65
+ <command>pg_ctl</command>
61
66
<arg choice="plain">status</arg>
62
67
<arg>-D <replaceable>datadir</replaceable></arg>
63
68
</cmdsynopsis>
@@ -73,7 +78,7 @@ Postgres documentation
73
78
the status of a running postmaster. Although the postmaster can be
74
79
started manually, <application>pg_ctl</application> encapulates
75
80
tasks such as redirecting log output, properly detaching from the
76
- terminal and process group, and additionally provides an option for
81
+ terminal and process group, and it provides convenient options for
77
82
controlled shut down.
78
83
</para>
79
84
@@ -93,15 +98,14 @@ Postgres documentation
93
98
</para>
94
99
95
100
<para>
96
- In <option>stop</option> mode, the postmaster that is running on
101
+ In <option>stop</option> mode, the postmaster that is running in
97
102
the specified data directory is shut down. Three different
98
103
shutdown methods can be selected with the <option>-m</option>
99
104
option: <quote>Smart</quote> mode waits for all the clients to
100
105
disconnect. This is the default. <quote>Fast</quote> mode does
101
106
not wait for clients to disconnect. All active transactions will
102
107
be rolled back. <quote>Immediate</quote> mode will abort without
103
108
complete shutdown. This will lead to a recovery run on restart.
104
- By the default, stop mode waits for the shutdown to complete.
105
109
</para>
106
110
107
111
<para>
@@ -110,6 +114,14 @@ Postgres documentation
110
114
options.
111
115
</para>
112
116
117
+ <para>
118
+ <option>reload</option> mode simply sends the postmaster a SIGHUP signal,
119
+ causing it to reread its configuration files
120
+ (<filename>postgresql.conf</filename>, <filename>pg_hba.conf</filename>,
121
+ etc). This allows changing of configuration-file options that do not
122
+ require a complete restart to take effect.
123
+ </para>
124
+
113
125
<para>
114
126
<option>status</option> mode checks whether a postmaster is running
115
127
and if so displays the <acronym>PID</acronym> and the command line
@@ -188,7 +200,7 @@ Postgres documentation
188
200
<term>-w</term>
189
201
<listitem>
190
202
<para>
191
- Wait for the start or stutdown to complete. Times out after
203
+ Wait for the start or shutdown to complete. Times out after
192
204
60 seconds. This is the default for shutdowns.
193
205
</para>
194
206
</listitem>
0 commit comments