Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root
Date
Msg-id CACG=ezbFv=LH96MFZXdRVqHsFOwdJY53X-1tGnLV_RisAv0M-Q@mail.gmail.com
Whole thread Raw
In response to [PATCH] Fix replica identity mismatch for partitioned tables with publish_via_partition_root  (Mikhail Kharitonov <mikhail.kharitonov.dev@gmail.com>)
List 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://www.postgresql.org/message-id/201902041630.gpadougzab7v@alvherre.pgsql


--
Best regards,
Maxim Orlov.

pgsql-hackers by date:

Previous
From: Xuneng Zhou
Date:
Subject: Re: Add an option to skip loading missing publication to avoid logical replication failure
Next
From: Jacob Champion
Date:
Subject: Re: libcurl in libpq.pc