Hi Amit and Euler,

Thank you both for all your advice. Here comes my first implementation of
INHERIT in the attached v2 patch.

On Wed, Dec 17, 2025 at 8:11 AM Euler Taveira <[email protected]> wrote:


> I wondering if we use INHERIT as default. The main advantage is usability
> as Chao
> Li already mentioned. Is there any cases that having a different replica
> identity from parent/partitioned table makes sense?
>
>
We can leave this topic open for discussion. In my current implementation,
NO INHERIT is still the default. But if we decide to switch the default, I
can add a new commit that should include only 1 line code change in gram.y
and a tiny doc update.

0001 - when a new partition is created, use the parent's replication
identity
0002 - add INHERIT | NO INHERIT

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

Attachment: v2-0002-Add-INHERIT-NO-INHERIT-options-to-ALTER-TABLE-REP.patch
Description: Binary data

Attachment: v2-0001-Inherit-replica-identity-for-new-and-attached-par.patch
Description: Binary data

Reply via email to