Re: Proposal: Conflict log history table for Logical Replication

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: shveta malik <shveta(dot)malik(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, saurabh singh <saurabh(dot)singh214(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Proposal: Conflict log history table for Logical Replication
Date: 2026-08-26 12:56:05
Message-ID: CAFiTN-ueKZzZjxEJ45+xCrEtZoFfbCOxVezebycWi+138L-5hQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 26 Aug 2026 at 6:22 PM, vignesh C <vignesh21(at)gmail(dot)com> wrote:

> On Wed, 26 Aug 2026 at 16:15, shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
> >
> > How the updates on tab_nothing and tab_nopk will go through if there
> > are no RIs on these on pub? Do you mean we need to have RI on pub
> > while no RI on sub?
>
> Yes, the replica identity is required on the publisher side, but the
> subscriber does not need to have a replica identity configured.
>
> >Can you give exact steps if so?
>
> I have attached a shell script that reproduces the issue.

I didn’t check the script but if publisher has set the RI full then isn’t
we should say RI is full, publisher is the one defining what should be RI
am I missing something?

>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrey Borodin 2026-08-26 12:58:45 Re: SSI: ON CONFLICT DO SELECT takes no predicate lock on the returned row
Previous Message David Rowley 2026-08-26 12:55:39 Re: right() returns the whole string for the most negative n