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

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 →
  1. Fix RI fast-path for domain-typed FK columns

  2. pg_walsummary: Improve stability of test checking statistics