AW: [Extern] Re: Is a logical replication crash recovery safe?

From: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
To: Christophe Pettus <xof(at)thebuild(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: AW: [Extern] Re: Is a logical replication crash recovery safe?
Date: 2023-01-24 16:07:46
Message-ID: f15c56e4ddea4d6db4bd314eaf1c4cfb@zuerich.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> -----Ursprüngliche Nachricht-----
> Von: Christophe Pettus <xof(at)thebuild(dot)com>
> Gesendet: Dienstag, 24. Januar 2023 16:48
> An: Zwettler Markus (OIZ) <Markus(dot)Zwettler(at)zuerich(dot)ch>
> Cc: pgsql-general(at)lists(dot)postgresql(dot)org
> Betreff: [Extern] Re: Is a logical replication crash recovery safe?
>
>
>
> > On Jan 24, 2023, at 07:37, Zwettler Markus (OIZ) <Markus(dot)Zwettler(at)zuerich(dot)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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Burladyan 2023-01-24 18:35:55 Link WAL record to session
Previous Message Christophe Pettus 2023-01-24 15:47:31 Re: Is a logical replication crash recovery safe?