Re: Best way to stop Streaming Replication?

Поиск
Список
Период
Сортировка
От Ron Johnson
Тема Re: Best way to stop Streaming Replication?
Дата
Msg-id CANzqJaAyBe7E7yRMMVYsRoYOTgxi2_SH+A0SyKbs11JbWpS8ig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Best way to stop Streaming Replication?  (Samed YILDIRIM <samed@reddoc.net>)
Список pgsql-admin
On Sat, Dec 23, 2023 
If you already have a replication created with a replication slot, then, you can clean restore_command and primary_conninfo settings on replica, reload configuration of the replica, and then remove the leftover replication slot from the master. For example:
  • on replica
    • alter system set primary_conninfo to '';
    • alter system set restore_command to '';
    • select pg_reload_conf();
  • on master
    • select  pg_drop_replication_slot('ron_replication_slot1');
Excellent.   Thank you 

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

Предыдущее
От: Samed YILDIRIM
Дата:
Сообщение: Re: Best way to stop Streaming Replication?
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: Need inputs on postgresql HA with consul cluster