aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-02-03 00:41:50 +0900
committerFujii Masao <fujii@postgresql.org>2014-02-03 00:41:50 +0900
commit0753bdb352270a03dec52bc959418fa82e9b07cc (patch)
treeb5573897486ab945f5ca2a0b13928e330de66dab /src
parent63be3b78f6e1d92c7f02d4f73a55dd5cefab923b (diff)
downloadpostgresql-0753bdb352270a03dec52bc959418fa82e9b07cc.tar.gz
postgresql-0753bdb352270a03dec52bc959418fa82e9b07cc.zip
Add primary_slotname to recovery.conf.sample.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/recovery.conf.sample6
1 files changed, 6 insertions, 0 deletions
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