mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
pg_ctl promote
Fujii Masao, reviewed by Robert Haas, Stephen Frost, and Magnus Hagander.
This commit is contained in:
@@ -75,6 +75,13 @@ PostgreSQL documentation
|
||||
<arg>-o <replaceable>options</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
|
||||
<cmdsynopsis>
|
||||
<command>pg_ctl</command>
|
||||
<arg choice="plain">promote</arg>
|
||||
<arg>-s</arg>
|
||||
<arg>-D <replaceable>datadir</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
|
||||
<cmdsynopsis>
|
||||
<command>pg_ctl</command>
|
||||
<arg choice="plain">reload</arg>
|
||||
@@ -183,6 +190,12 @@ PostgreSQL documentation
|
||||
command-line options.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In <option>promote</option> mode, the standby server that is
|
||||
running in the specified data directory is commanded to exit
|
||||
recovery and begin read-write operations.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<option>reload</option> mode simply sends the
|
||||
<command>postgres</command> process a <systemitem>SIGHUP</>
|
||||
|
Reference in New Issue
Block a user