Lingering replication slots

Поиск
Список
Период
Сортировка
От Lou Tseng
Тема Lingering replication slots
Дата
Msg-id DM6PR11MB293905A4056E632A36C421EEC4570@DM6PR11MB2939.namprd11.prod.outlook.com
обсуждение исходный текст
Ответы Re: Lingering replication slots
Список pgsql-general
Hi,

A newbie question: how do I delete lingering replication slots?  When creating Subscription for logical replication, the CREATE SUBSCRIPTION stuck and didn't return. After ctrl-c and aborted the command, the master database have lingering replication slots that I can't delete because the active is true. Do I just kill the pid?

Thanks!


SELECT * FROM pg_replication_slots ;

  slot_name   |  plugin  | slot_type |  datoid  |    database    | temporary | active | active_pid | xmin | catalog_xmin | restart_lsn  | confirmed_flush_lsn 

--------------+----------+-----------+----------+----------------+-----------+--------+------------+------+--------------+--------------+---------------------

 support_sub2 | pgoutput | logical   | 28384483 | dragon_support | f         | t      |      29566 |      |     96562907 | 5108/29C1610 | 

 support_sub  | pgoutput | logical   | 28384483 | dragon_support | f         | t      |      27253 |      |     96562907 | 5108/2858880 | 

В списке pgsql-general по дате отправления:

Предыдущее
От: rihad
Дата:
Сообщение: Re: Recommendation to run vacuum FULL in parallel
Следующее
От: Jonathan Marks
Дата:
Сообщение: Forcing index usage