pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: Christophe Pettus <xof@thebuild.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: AW: [Extern] Re: Is a logical replication crash recovery safe?
Date: Tue, 24 Jan 2023 16:07:46 +0000
Message-ID: <f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch> (raw)
In-Reply-To: <92C9BEE0-7DA9-4C07-BABB-466E8D2EF000@thebuild.com>
References: <6d71f90e900c4b3f9e2654c6adc3a5ff@zuerich.ch>
	<92C9BEE0-7DA9-4C07-BABB-466E8D2EF000@thebuild.com>

> -----Ursprüngliche Nachricht-----
> Von: Christophe Pettus <xof@thebuild.com>
> Gesendet: Dienstag, 24. Januar 2023 16:48
> An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
> Cc: pgsql-general@lists.postgresql.org
> Betreff: [Extern] Re: Is a logical replication crash recovery safe?
> 
> 
> 
> > On Jan 24, 2023, at 07:37, Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
> wrote:
> >
> > Is a logical replication crash recovery safe?
> 
> You might want to give more detail about the scenario you are concerned about.
> Changes that are received by a subscriber as part of logical replication are WAL-
> logged, observe transaction semantics, and will be replayed if the subscriber
> crashes and restarts.
> 


Sorry. Let me refine.

If I create a logical replication slot and use the replication slot to publish some tables.

Will the information in the replication slot be safe for any subscription even if a crash recovery happened on the publisher node?




Message-ID: <f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch>
Permalink:  ../f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch/
Also on:    postgresql.org/message-id/f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch

 · 

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: Markus.Zwettler@zuerich.ch, xof@thebuild.com
  Subject: Re: [Extern] Re: Is a logical replication crash recovery safe?
  In-Reply-To: <f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch>
  References: <6d71f90e900c4b3f9e2654c6adc3a5ff@zuerich.ch> <92C9BEE0-7DA9-4C07-BABB-466E8D2EF000@thebuild.com> <f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch>

* 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