Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 55a01b4

Browse files
committed
Change recovery.conf.sample to match postgresql.conf by showing only
default values, with example comments.
1 parent e01c6ce commit 55a01b4

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

src/backend/access/transam/recovery.conf.sample

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
# Comments are introduced with '#'.
2121
#
2222
# The complete list of option names and allowed values can be found
23-
# in the PostgreSQL documentation. The commented-out settings shown below
24-
# are example values.
23+
# in the PostgreSQL documentation.
2524
#
2625
#---------------------------------------------------------------------------
2726
# ARCHIVE RECOVERY PARAMETERS
@@ -44,7 +43,7 @@
4443
# NOTE that the basename of %p will be different from %f; do not
4544
# expect them to be interchangeable.
4645
#
47-
#restore_command = 'cp /mnt/server/archivedir/%f %p'
46+
#restore_command = '' # e.g. 'cp /mnt/server/archivedir/%f %p'
4847
#
4948
#
5049
# restartpoint_command
@@ -74,18 +73,18 @@
7473
# transaction(s) with the recovery target value (ie, stop either
7574
# just after or just before the given target, respectively).
7675
#
77-
#recovery_target_time = '2004-07-14 22:39:00 EST'
76+
#recovery_target_time = '' # e.g. '2004-07-14 22:39:00 EST'
7877
#
79-
#recovery_target_xid = '1100842'
78+
#recovery_target_xid = ''
8079
#
81-
#recovery_target_inclusive = 'true' # 'true' or 'false'
80+
#recovery_target_inclusive = 'true'
8281
#
8382
#
8483
# If you want to recover into a timeline other than the "main line" shown in
8584
# pg_control, specify the timeline number here, or write 'latest' to get
8685
# the latest branch for which there's a history file.
8786
#
88-
#recovery_target_timeline = '33' # number or 'latest'
87+
#recovery_target_timeline = 'latest'
8988
#
9089
#---------------------------------------------------------------------------
9190
# LOG-STREAMING REPLICATION PARAMETERS
@@ -96,9 +95,9 @@
9695
# connection settings primary_conninfo, and receives XLOG records
9796
# continuously.
9897
#
99-
#standby_mode = 'off' # 'on' or 'off'
98+
#standby_mode = 'off'
10099
#
101-
#primary_conninfo = 'host=localhost port=5432'
100+
#primary_conninfo = '' # e.g. 'host=localhost port=5432'
102101
#
103102
#
104103
# By default, a standby server keeps streaming XLOG records from the

0 commit comments

Comments
 (0)