Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root
Mikhail Kharitonov <mikhail.kharitonov.dev@gmail.com>
From: Mikhail Kharitonov <mikhail.kharitonov.dev@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2025-08-12T12:02:33Z
Lists: pgsql-hackers
Attachments
- v3-0002-replica-identity-test.patch (application/octet-stream) patch v3-0002
- v3-0001-Fix-replica-identity-flags-for-partitioned-tables.patch (application/octet-stream) patch v3-0001
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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix RI fast-path for domain-typed FK columns
- 68ace967c16b 19 (unreleased) cited
-
pg_walsummary: Improve stability of test checking statistics
- a27893df45ec 19 (unreleased) cited