This seems like very unfriendly behaviour

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: This seems like very unfriendly behaviour
Date: 2019-05-25 13:35:34
Message-ID: CADK3HHLEXr8e3qa537+GTxUFia+rJcEmN=3qr9Pjm+tyWX4riA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

How do I get rid of this slot ?

select pg_drop_replication_slot('mysub');
ERROR: replication slot "mysub" is active for PID 13065
test_database=# select * from pg_subscription;
subdbid | subname | subowner | subenabled | subconninfo | subslotname |
subsynccommit | subpublications
---------+---------+----------+------------+-------------+-------------+---------------+-----------------
(0 rows)

test_database=# select * from pg_publication;
pubname | pubowner | puballtables | pubinsert | pubupdate | pubdelete |
pubtruncate
---------+----------+--------------+-----------+-----------+-----------+-------------
(0 rows)

Dave Cramer

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2019-05-25 13:37:52 Re: Fix typos for v12
Previous Message Alexander Lakhin 2019-05-25 10:53:11 Re: Fix typos for v12