Re: postgresql11: How to use publication/subscription on primary/standby setup

From: Tomas Pospisek <tpo2(at)sourcepole(dot)ch>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: postgresql11: How to use publication/subscription on primary/standby setup
Date: 2021-10-01 12:03:29
Message-ID: e1d579b9-6734-9e39-708b-cd4b7b95a4c4@sourcepole.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 29.09.21 11:01, Abhishek B wrote:
> Is there a solution to use publication/subscription on a master-slave or
> primary-standby postgres setup without manual intervention?
>
> Currently the DB clusters are managed by Pacemaker. Once there is a
> failover, the pacemaker is able to promote the secondary node to
> primary, but the logical replication stops working after that. Is there
> any way to automatically move the contents of pg_replslot to the new
> primary node?

I'm not sure I understand you correctly, but I'd suggest to have a look
at patroni, which maybe does what you want.
*t

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vijay Garg 2021-10-01 16:25:42 Problem in Storing Satellite imagey(Geotiff file)
Previous Message Subhrajyoti Senapati 2021-10-01 11:58:10 Re: Sysbench tests on PG12