Re: Invalid Assert while validating REPLICA IDENTITY? - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Invalid Assert while validating REPLICA IDENTITY?
Date
Msg-id CAA4eK1JM3WSn-Ta3-y4tQKW4-=Suj0MtcTHp2j20nbr1MBJfHg@mail.gmail.com
Whole thread Raw
In response to Re: Invalid Assert while validating REPLICA IDENTITY?  (vignesh C <vignesh21@gmail.com>)
Responses Re: Invalid Assert while validating REPLICA IDENTITY?
List pgsql-hackers
On Tue, Sep 10, 2024 at 11:36 AM vignesh C <vignesh21@gmail.com> wrote:
>
> On Mon, 9 Sept 2024 at 13:12, Amit Kapila <amit.kapila16@gmail.com> wrote:
> >
> > The second part of the assertion is incomplete. The
> > IsIndexUsableForReplicaIdentityFull() should be used only when the
> > remote relation has REPLICA_IDENTITY_FULL set. I haven't tested all
> > possible cases yet but I think the attached should be a better way to
> > write this assertion.
>
> The changes look good to me.
>

Thanks, I'll push this tomorrow unless Dilip or anyone else has any
comments. BTW, as the current code doesn't lead to any bug or
assertion failure, I am planning to push this change to HEAD only, let
me know if you think otherwise.

With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Retire support for OpenSSL 1.1.1 due to raised API requirements
Next
From: Nitin Motiani
Date:
Subject: Re: long-standing data loss bug in initial sync of logical replication