pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Moor Ali <moorali.d@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Seamless Logical Replication during Fail-over
Date: Fri, 15 May 2020 14:31:50 +0200
Message-ID: <e0e989d9-7538-193e-95dd-c567ce45dcdc@2ndquadrant.com> (raw)
In-Reply-To: <CAFmHKA6oXGNn+OG9mBDCXR9+wVXP36iA1k8yq69J-y5_a=xKMA@mail.gmail.com>
References: <CAFmHKA6oXGNn+OG9mBDCXR9+wVXP36iA1k8yq69J-y5_a=xKMA@mail.gmail.com>

On 2020-05-15 12:05, Moor Ali wrote:
> Is there any way to continue logical replication (either in-built or 
> using pglogical) between a promoted replica and existing subscribers 
> without data loss?
> 
> I could find some discussions about fail-over slots and other mechanisms 
> for addressing this as part of PostgreSQL 9.6 release. But I am not sure 
> if these changes made it to any of the releases.

You are right that the fail-over slot mechanism was supposed to address 
this but it never made it into a release.  I'm not aware of an 
open-source solution for this right now.

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





view thread (2+ messages)

Message-ID: <e0e989d9-7538-193e-95dd-c567ce45dcdc@2ndquadrant.com>
Permalink:  ../e0e989d9-7538-193e-95dd-c567ce45dcdc@2ndquadrant.com/
Also on:    postgresql.org/message-id/e0e989d9-7538-193e-95dd-c567ce45dcdc@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, moorali.d@gmail.com
  Subject: Re: Seamless Logical Replication during Fail-over
  In-Reply-To: <e0e989d9-7538-193e-95dd-c567ce45dcdc@2ndquadrant.com>
  References: <CAFmHKA6oXGNn+OG9mBDCXR9+wVXP36iA1k8yq69J-y5_a=xKMA@mail.gmail.com> <e0e989d9-7538-193e-95dd-c567ce45dcdc@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox