Commit 55a01b4c authored by Bruce Momjian's avatar Bruce Momjian

Change recovery.conf.sample to match postgresql.conf by showing only

default values, with example comments.
parent e01c6ce7
...@@ -20,8 +20,7 @@ ...@@ -20,8 +20,7 @@
# Comments are introduced with '#'. # Comments are introduced with '#'.
# #
# The complete list of option names and allowed values can be found # The complete list of option names and allowed values can be found
# in the PostgreSQL documentation. The commented-out settings shown below # in the PostgreSQL documentation.
# are example values.
# #
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# ARCHIVE RECOVERY PARAMETERS # ARCHIVE RECOVERY PARAMETERS
...@@ -44,7 +43,7 @@ ...@@ -44,7 +43,7 @@
# NOTE that the basename of %p will be different from %f; do not # NOTE that the basename of %p will be different from %f; do not
# expect them to be interchangeable. # expect them to be interchangeable.
# #
#restore_command = 'cp /mnt/server/archivedir/%f %p' #restore_command = '' # e.g. 'cp /mnt/server/archivedir/%f %p'
# #
# #
# restartpoint_command # restartpoint_command
...@@ -74,18 +73,18 @@ ...@@ -74,18 +73,18 @@
# transaction(s) with the recovery target value (ie, stop either # transaction(s) with the recovery target value (ie, stop either
# just after or just before the given target, respectively). # just after or just before the given target, respectively).
# #
#recovery_target_time = '2004-07-14 22:39:00 EST' #recovery_target_time = '' # e.g. '2004-07-14 22:39:00 EST'
# #
#recovery_target_xid = '1100842' #recovery_target_xid = ''
# #
#recovery_target_inclusive = 'true' # 'true' or 'false' #recovery_target_inclusive = 'true'
# #
# #
# If you want to recover into a timeline other than the "main line" shown in # If you want to recover into a timeline other than the "main line" shown in
# pg_control, specify the timeline number here, or write 'latest' to get # pg_control, specify the timeline number here, or write 'latest' to get
# the latest branch for which there's a history file. # the latest branch for which there's a history file.
# #
#recovery_target_timeline = '33' # number or 'latest' #recovery_target_timeline = 'latest'
# #
#--------------------------------------------------------------------------- #---------------------------------------------------------------------------
# LOG-STREAMING REPLICATION PARAMETERS # LOG-STREAMING REPLICATION PARAMETERS
...@@ -96,9 +95,9 @@ ...@@ -96,9 +95,9 @@
# connection settings primary_conninfo, and receives XLOG records # connection settings primary_conninfo, and receives XLOG records
# continuously. # continuously.
# #
#standby_mode = 'off' # 'on' or 'off' #standby_mode = 'off'
# #
#primary_conninfo = 'host=localhost port=5432' #primary_conninfo = '' # e.g. 'host=localhost port=5432'
# #
# #
# By default, a standby server keeps streaming XLOG records from the # By default, a standby server keeps streaming XLOG records from the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment