mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Add pause_at_recovery_target to recovery.conf.sample; improve docs.
Fujii Masao, but with the proposed behavior change reverted, and the rest adjusted accordingly.
This commit is contained in:
@ -261,7 +261,7 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Specifies whether recovery should pause when the recovery target
|
Specifies whether recovery should pause when the recovery target
|
||||||
is reached. The default is true, if a recovery target is set.
|
is reached. The default is true.
|
||||||
This is intended to allow queries to be executed against the
|
This is intended to allow queries to be executed against the
|
||||||
database to check if this recovery target is the most desirable
|
database to check if this recovery target is the most desirable
|
||||||
point for recovery. The paused state can be resumed by using
|
point for recovery. The paused state can be resumed by using
|
||||||
@ -272,6 +272,10 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
|
|||||||
recovery target settings to a later target and restart to
|
recovery target settings to a later target and restart to
|
||||||
continue recovery.
|
continue recovery.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
This setting has no effect if <xref linkend="guc-hot-standby"> is not
|
||||||
|
enabled, or if no recovery target is set.
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -87,6 +87,14 @@
|
|||||||
#
|
#
|
||||||
#recovery_target_timeline = 'latest'
|
#recovery_target_timeline = 'latest'
|
||||||
#
|
#
|
||||||
|
#
|
||||||
|
# If pause_at_recovery_target is enabled, recovery will pause when
|
||||||
|
# the recovery target is reached. The pause state will continue until
|
||||||
|
# pg_xlog_replay_resume() is called. This setting has no effect if
|
||||||
|
# hot standby is not enabled, or if no recovery target is set.
|
||||||
|
#
|
||||||
|
#pause_at_recovery_target = true
|
||||||
|
#
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# STANDBY SERVER PARAMETERS
|
# STANDBY SERVER PARAMETERS
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user