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 CAA4eK1JHTzrnnKE4sKE5m_iFkyd0tGDRA=gLbXOXJ6q2ZKYjNQ@mail.gmail.com
Whole thread Raw
In response to Invalid Assert while validating REPLICA IDENTITY?  (Dilip Kumar <dilipbalaut@gmail.com>)
Responses Re: Invalid Assert while validating REPLICA IDENTITY?
List pgsql-hackers
On Mon, Sep 2, 2024 at 11:21 AM Dilip Kumar <dilipbalaut@gmail.com> wrote:
>
> While working on some other code I noticed that in
> FindReplTupleInLocalRel() there is an assert [1] that seems to be
> passing IndexRelation to GetRelationIdentityOrPK() whereas it should
> be passing normal relation.
>

Agreed. But this should lead to assertion failure. Did you try testing it?

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Introduce XID age and inactive timeout based replication slot invalidation
Next
From: Heikki Linnakangas
Date:
Subject: Re: AIO v2.0