pgsql: pg_createsubscriber: Remove failover replication slots on subscr

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_createsubscriber: Remove failover replication slots on subscr
Date: 2024-06-17 10:16:20
Message-ID: E1sJ9PP-001sJv-Jl@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)taveira(at)enterprisedb(dot)com>
Reviewed-by: Hayato Kuroda <kuroda(dot)hayato(at)fujitsu(dot)com>
Discussion: https://www.postgresql.org/message-id/776c5cac-5ef5-4001-b1bc-5b698bc0c62a%40app.fastmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/81d20fbf7a03f5e385700c90aec883c96b32ddc6

Modified Files
--------------
doc/src/sgml/ref/pg_createsubscriber.sgml | 9 ++++
src/bin/pg_basebackup/pg_createsubscriber.c | 49 +++++++++++++++++++++-
src/bin/pg_basebackup/t/040_pg_createsubscriber.pl | 20 ++++++++-
3 files changed, 76 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2024-06-17 14:38:55 pgsql: Teach jsonpath string() to unwrap in lax mode
Previous Message Peter Eisentraut 2024-06-17 08:55:03 pgsql: pg_createsubscriber: Remove replication slot check on primary