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

From: Maxim Orlov <orlovmg(at)gmail(dot)com>
To: Mikhail Kharitonov <mikhail(dot)kharitonov(dot)dev(at)gmail(dot)com>
Cc: 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-05-12 14:25:00
Message-ID: CACG=ezbFv=LH96MFZXdRVqHsFOwdJY53X-1tGnLV_RisAv0M-Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

This is probably not the most familiar part of Postgres to me, but does it
break anything? Or is it just inconsistency in the replication protocol?

A test for the described scenario would be a great addition. And, if it is
feasible, provide an example of what would be broken with the way
partitioned tables are replicated now.

There is a chance that the replication protocol for partitioned tables
needs to be rewritten, and I sincerely hope that I am wrong about this. It
seems Alvaro Herrera tried this here [0].

[0]
https://stream.boxwatch.ru/message-id/201902041630.gpadougzab7v@alvherre.pgsql

--
Best regards,
Maxim Orlov.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-05-12 15:24:13 Re: add tab-complete for ALTER DOMAIN ADD...
Previous Message Tom Lane 2025-05-12 14:23:56 Re: Why our Valgrind reports suck