Re: Invalid Assert while validating REPLICA IDENTITY?
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Dilip Kumar <dilipbalaut@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-02T10:02:24Z
Lists: 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.
Commits
-
Improve assertion in FindReplTupleInLocalRel().
- 3beb945da9d7 18.0 landed