]> granicus.if.org Git - postgresql/blobdiff - src/backend/access/transam/recovery.conf.sample
pgindent run for 9.4
[postgresql] / src / backend / access / transam / recovery.conf.sample
index 0243b51fdf973be12e707a214968bf8f4bf41e61..2612a7df9fd5ac006dc7b07b3236020823bb0e43 100644 (file)
@@ -72,7 +72,7 @@
 # just after or just before the given target, respectively).
 #
 #
-#recovery_target_name = ''  # e.g. 'daily backup 2011-01-26'
+#recovery_target_name = ''     # e.g. 'daily backup 2011-01-26'
 #
 #recovery_target_time = ''     # e.g. '2004-07-14 22:39:00 EST'
 #
 #recovery_target_inclusive = true
 #
 #
+# Alternatively, you can request stopping as soon as a consistent state
+# is reached, by uncommenting this option.
+#
+#recovery_target = 'immediate'
+#
+#
 # 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 = '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
 #---------------------------------------------------------------------------
 #
 #primary_conninfo = ''         # e.g. 'host=localhost port=5432'
 #
+# If set, the PostgreSQL server will use the specified replication slot when
+# connecting to the primary via streaming replication to control resource
+# removal on the upstream node. This setting has no effect if primary_conninfo
+# is not set.
+#
+#primary_slotname = ''
 #
 # By default, a standby server keeps restoring XLOG records from the
 # primary indefinitely. If you want to stop the standby mode, finish recovery
 #
 #trigger_file = ''
 #
+# By default, a standby server keeps restoring XLOG records from the
+# primary as soon as possible. If you want to explicitly delay the replay of
+# committed transactions from the master, specify a recovery apply delay.
+# For example, if you set this parameter to 5min, the standby will replay
+# each transaction commit only when the system time on the standby is at
+# least five minutes past the commit time reported by the master.
+#
+#min_recovery_apply_delay = 0
+#
 #---------------------------------------------------------------------------
 # HOT STANDBY PARAMETERS
 #---------------------------------------------------------------------------