Re: Is it safe to transfer logical replicationpublication/subscription?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Is it safe to transfer logical replicationpublication/subscription?
Дата
Msg-id 714db546-174c-806b-f2d7-708a1658109f@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Is it safe to transfer logical replication publication/subscription?  (Mike Lissner <mlissner@michaeljaylissner.com>)
Ответы Re: Is it safe to transfer logical replication publication/subscription?
Список pgsql-general
On 2020-01-08 23:55, Mike Lissner wrote:
> That's a great point, thanks. The DROP SUBSCRIPTION notes say you can:
> 
>> Disassociate the subscription from the replication slot by executing ALTER SUBSCRIPTION ... SET (slot_name = NONE).
Afterthat, DROP SUBSCRIPTION will no longer attempt any actions on a remote host.
 
> 
> I'll read some more about the replication slots themselves (I did read
> about them a while back), but doing the above seems like a good way to
> break B from A, before resubscribing C to A instead?

Yes, that's the one you want.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Jehan-Guillaume de Rorthais
Дата:
Сообщение: Re: what to do after a failover
Следующее
От: Ravi Krishna
Дата:
Сообщение: Re: Partitions child tables and analyze