From 0753bdb352270a03dec52bc959418fa82e9b07cc Mon Sep 17 00:00:00 2001
From: Fujii Masao <fujii@postgresql.org>
Date: Mon, 3 Feb 2014 00:41:50 +0900
Subject: [PATCH] Add primary_slotname to recovery.conf.sample.

---
 src/backend/access/transam/recovery.conf.sample | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/backend/access/transam/recovery.conf.sample b/src/backend/access/transam/recovery.conf.sample
index 6f7b38eb197..209b9792146 100644
--- a/src/backend/access/transam/recovery.conf.sample
+++ b/src/backend/access/transam/recovery.conf.sample
@@ -120,6 +120,12 @@
 #
 #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
-- 
GitLab