Document that pg_reload_conf() is also an easy way to reload the

configuration file.
This commit is contained in:
Bruce Momjian 2012-08-22 12:00:24 -04:00
parent b748d8f280
commit 7dff5b8edd

View File

@ -116,9 +116,10 @@ include 'filename'
<primary>SIGHUP</primary> <primary>SIGHUP</primary>
</indexterm> </indexterm>
The configuration file is reread whenever the main server process The configuration file is reread whenever the main server process
receives a receives a <systemitem>SIGHUP</> signal; this is most easily done by
<systemitem>SIGHUP</> signal (which is most easily sent by means running <literal>pg_ctl reload</> from the command-line or by calling
of <literal>pg_ctl reload</>). The main server process the SQL function <function>pg_reload_conf()</function>). The main
server process
also propagates this signal to all currently running server also propagates this signal to all currently running server
processes so that existing sessions also get the new processes so that existing sessions also get the new
value. Alternatively, you can send the signal to a single server value. Alternatively, you can send the signal to a single server