[PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root

2025-05-05 Thread Mikhail Kharitonov
he logical replication stream contains 'O' records with only key fields. After applying the patch, 'O' is used only when the full row is available, and 'K' is used otherwise - as expected. This patch is based on the current `master` branch as of commit: b37

Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root

2025-05-29 Thread Mikhail Kharitonov
tructure or introduce new behavior. It only ensures the implementation matches the documentation. In the future, we might consider a broader redesign of logical replication for partitioned tables (see [2]), but this is a narrow fix that solves a real inconsistency. Looking forward to your comments.

Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root

2025-07-08 Thread Mikhail Kharitonov
On Tue, Jul 8, 2025 at 11:53 AM Mikhail Kharitonov wrote: > > Hi all, > > I’m sending v2 of the patch. This is a clean rebase onto current master > (commit a27893df45e) and a squash of the fix together with the TAP > test into a single patch file. > > I would appreciate yo

Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root

2025-07-08 Thread Mikhail Kharitonov
Hi all, I’m sending v2 of the patch. This is a clean rebase onto current master (commit a27893df45e) and a squash of the fix together with the TAP test into a single patch file. I would appreciate your thoughts and comments on the current problem. Thank you! -- Best regards, Mikhail Kharitonov