Re: Skipping logical replication transactions on subscriber side

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Skipping logical replication transactions on subscriber side
Date: 2021-06-17 09:20:21
Message-ID: CAD21AoAPDviYBF5pphgrAhtLZQ4Sa5NTzXgzHOOZSdMiyTtQBQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 17, 2021 at 3:24 PM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>
> > Now, if this function is used by super
> > users then we can probably trust that they provide the XIDs that we
> > can trust to be skipped but OTOH making a restriction to allow these
> > functions to be used by superusers might restrict the usage of this
> > repair tool.
>
> If we specify the subscription id or name, maybe we can allow also the
> owner of subscription to do that operation?

Ah, the owner of the subscription must be superuser.

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2021-06-17 09:20:39 Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Previous Message Yugo NAGATA 2021-06-17 09:16:42 Re: pgbench bug candidate: negative "initial connection time"