aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-06-17 12:12:49 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-06-17 12:12:49 +0200
commit81d20fbf7a03f5e385700c90aec883c96b32ddc6 (patch)
tree932ebb8966ee7f0ac9d6275031d02b2f65776635 /doc/src
parentb96391382626306c301b67cbd2d28313d96741f3 (diff)
downloadpostgresql-81d20fbf7a03f5e385700c90aec883c96b32ddc6.tar.gz
postgresql-81d20fbf7a03f5e385700c90aec883c96b32ddc6.zip
pg_createsubscriber: Remove failover replication slots on subscriber
After running pg_createsubscriber, these replication slots have no use on subscriber, so drop them. Author: Euler Taveira <euler.taveira@enterprisedb.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Discussion: https://www.postgresql.org/message-id/776c5cac-5ef5-4001-b1bc-5b698bc0c62a%40app.fastmail.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_createsubscriber.sgml9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml
index a700697f887..2ee6eee9e35 100644
--- a/doc/src/sgml/ref/pg_createsubscriber.sgml
+++ b/doc/src/sgml/ref/pg_createsubscriber.sgml
@@ -484,6 +484,15 @@ PostgreSQL documentation
<step>
<para>
+ If the standby server contains <link
+ linkend="logicaldecoding-replication-slots-synchronization">failover
+ replication slots</link>, they cannot be synchronized anymore, so drop
+ them.
+ </para>
+ </step>
+
+ <step>
+ <para>
Update the system identifier on the target server. The
<xref linkend="app-pgresetwal"/> is run to modify the system identifier.
The target server is stopped as a <command>pg_resetwal</command> requirement.