summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2017-12-29 14:01:25 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2017-12-29 14:01:25 +0000
commit2958a672b1fed35403b23c2b453aede9f7ef4b39 (patch)
tree45f41c5c8c4ccce210f37040f13801a4a74a79f2 /doc/src
parent0aa1d489ea756b96b6d5573692ae9cd5d143c2a5 (diff)
Extend near-wraparound hints to include replication slots
Author: Feike Steenbergen Reviewed-by: Michael Paquier
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/logicaldecoding.sgml8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/src/sgml/logicaldecoding.sgml b/doc/src/sgml/logicaldecoding.sgml
index 6bab1b9b322..fa101937e54 100644
--- a/doc/src/sgml/logicaldecoding.sgml
+++ b/doc/src/sgml/logicaldecoding.sgml
@@ -248,16 +248,18 @@ $ pg_recvlogical -d postgres --slot test --drop-slot
may consume changes from a slot at any given time.
</para>
- <note>
+ <caution>
<para>
Replication slots persist across crashes and know nothing about the state
of their consumer(s). They will prevent removal of required resources
even when there is no connection using them. This consumes storage
because neither required WAL nor required rows from the system catalogs
can be removed by <command>VACUUM</command> as long as they are required by a replication
- slot. So if a slot is no longer required it should be dropped.
+ slot. In extreme cases this could cause the database to shut down to prevent
+ transaction ID wraparound (see <xref linkend="vacuum-for-wraparound"/>).
+ So if a slot is no longer required it should be dropped.
</para>
- </note>
+ </caution>
</sect2>
<sect2>