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

From: Mikhail Kharitonov <mikhail(dot)kharitonov(dot)dev(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root
Date: 2025-08-12 12:02:33
Message-ID: CAKkoVasOmTgHhJ8S5WwUKW69_SNT+sMYjVp7PufZQHfZKpdCcg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

I've rebased this series onto the latest master.

Changes in v3:

Patch 1/2 adds two new functions: logicalrep_write_update_extended,
logicalrep_write_delete_extended to logicalproto.
These are now used in pgoutput and allow correct old-tuple flag handling
when publish_via_partition_root = true.
The old functions remain as wrappers to preserve compatibility.
A short documentation note was added to explain the new behaviour.

Patch 2/2 moves the TAP test into a separate commit,
so the code change and test are isolated.

--
Best regards,
Mikhail Kharitonov

Attachment Content-Type Size
v3-0002-replica-identity-test.patch application/octet-stream 4.8 KB
v3-0001-Fix-replica-identity-flags-for-partitioned-tables.patch application/octet-stream 9.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2025-08-12 12:54:07 Re: Adding locks statistics
Previous Message Andrei Lepikhov 2025-08-12 11:22:41 Re: Let plan_cache_mode to be a little less strict