From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Quan Zongliang <zongliang(dot)quan(at)postgresdata(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add a GUC variable that control logical replication |
Date: | 2019-12-02 05:52:28 |
Message-ID: | CAMsr+YEZJu8Qz5iAWJ-o9omow2jrrfWJQ3=w1JbVYzt1V=4WKA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, 28 Nov 2019 at 11:53, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> On Wed, Nov 06, 2019 at 10:01:43PM +0800, Quan Zongliang wrote:
> > What the user needs is the same replication link that selectively skips
> some
> > transactions. And this choice only affects transactions that are doing
> bulk
> > delete sessions. The operations of other sessions are not affected and
> can
> > continue to output replication messages.
> > For example, session 1 wants to bulk delete 1 million old data from the
> T1
> > table, which can be done without replication. At the same time, session 2
> > deletes 10 records from T1, which is expected to be passed on through
> > replication.
> > Therefore, the two decoders can not meet this requirement. It is also
> > inappropriate to temporarily disable subscriptions because it skips all
> > transactions for a certain period of time.
>
> Hmm. The patch discussed on this thread does not have much support
> from Peter and Craig, so I am marking it as RwF.
>
>
Yeah. I'm not against it as such. But I'd like to either see it work by
exposing the ability to use DoNotReplicateId to SQL or if that's not
satisfactory, potentially replace that mechanism with the newly added one
and emulate DoNotReplicateId for BC.
I don't want two orthogonal ways to say "don't consider this for logical
replication".
--
Craig Ringer http://www.2ndQuadrant.com/
2ndQuadrant - PostgreSQL Solutions for the Enterprise
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-12-02 06:28:44 | Re: pgbench -i progress output on terminal |
Previous Message | Craig Ringer | 2019-12-02 05:45:53 | Re: Missing data_sync_elevel() for some calls of pg_fsync()? |