Re: restarting logical replication after upgrading standby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Feb 7, 2022, at 11:00 AM, Axel Rau <Axel.Rau@xxxxxxxxx> wrote:
> 
> Anybody out there, succeeding with upgrading a logical replication subscriber without resyncing it?


I have not tried it, but thought this the idea below would work for upgrading the publisher or subscriber with pg_upgrade. Plan to test it in a few weeks. If anyone knows it will not work, that will save me some time :).


Before pg_upgrade on the subscriber:

alter subscription my_subscription disable;
alter subscription my_subscription set (slot_name = NONE);

And then after pg_upgrade:

alter subscription my_subscription enable;

John DeSoi, Ph.D.








[Index of Archives]     [Postgresql Home]     [Postgresql General]     [Postgresql Performance]     [Postgresql PHP]     [Postgresql Jobs]     [PHP Users]     [PHP Databases]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Forum]

  Powered by Linux