On Sun, Mar 12, 2023 4:00 AM Önder Kalacı <onderkalaci(at)gmail(dot)com> wrote:
>
> Attaching a patch that could possibly solve the problem.
>
Thanks for your patch. I tried it and it worked well.
Here are some minor comments.
1.
@@ -243,6 +243,17 @@ tuples_equal(TupleTableSlot *slot1, TupleTableSlot *slot2,
Form_pg_attribute att;
TypeCacheEntry *typentry;
+
+ Form_pg_attribute attr = TupleDescAttr(slot1->tts_tupleDescriptor, attrnum);
+
I think we can use "att" instead of a new variable. They have the same value.
2.
+# The bug was that when when the REPLICA IDENTITY FULL is used with dropped
There is an extra "when".
Regards,
Shi Yu