]> granicus.if.org Git - postgresql/commitdiff
Change recovery.conf.sample to match postgresql.conf by showing only
authorBruce Momjian <bruce@momjian.us>
Wed, 31 Mar 2010 14:18:45 +0000 (14:18 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 31 Mar 2010 14:18:45 +0000 (14:18 +0000)
default values, with example comments.

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

index e2fce7ad8b2db27f5c65aa94faf3b516695df38d..4eae879c25f186a21fb613df3ba6b5d25872da1a 100644 (file)
@@ -20,8 +20,7 @@
 # Comments are introduced with '#'.
 #
 # The complete list of option names and allowed values can be found
-# in the PostgreSQL documentation. The commented-out settings shown below
-# are example values.
+# in the PostgreSQL documentation.
 #
 #---------------------------------------------------------------------------
 # ARCHIVE RECOVERY PARAMETERS
@@ -44,7 +43,7 @@
 # NOTE that the basename of %p will be different from %f; do not
 # 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
 # transaction(s) with the recovery target value (ie, stop either
 # 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
 # pg_control, specify the timeline number here, or write 'latest' to get
 # 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
@@ -96,9 +95,9 @@
 # connection settings primary_conninfo, and receives XLOG records
 # 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