Re: Regarding publish_via_partiton_root with pglogical
От | Durgamahesh Manne |
---|---|
Тема | Re: Regarding publish_via_partiton_root with pglogical |
Дата | |
Msg-id | CAJCZkoL4x6M__wwEXJnrve09vEVegCDwTmDCt1O4KitFF1xynQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Regarding publish_via_partiton_root with pglogical (khan Affan <bawag773@gmail.com>) |
Ответы |
Re: Regarding publish_via_partiton_root with pglogical
|
Список | pgsql-general |
Hi
Any inputs from the PGDG team members regarding this ?
Regards
Durga Mahesh
On Mon, Jul 22, 2024 at 3:35 PM khan Affan <bawag773@gmail.com> wrote:
Hi DurgamaheshIn pglogical extension, there is no direct equivalent to the publish_via_partition_root option found in the built-in logical replication
you can achieve similar results when a new partition is added; you must add it to the replication set using pglogical.replication_set_add_table. Similarly existing partitions are reorganized or split, ensure to update the replication sets accordingly.Thanks & Regards
Muhammad Affan (아판)
PostgreSQL Technical Support Engineer / Pakistan R&D
Interlace Plaza 4th floor Twinhub office 32 I8 Markaz, Islamabad, Pakistan On Sat, Jul 20, 2024 at 12:00 PM Durgamahesh Manne <maheshpostgres9@gmail.com> wrote:HiRespected TeamI know the use case of implementing the partitions with publication and subscription of built-in logical replicationCREATE PUBLICATION dbz_publication FOR TABLE betplacement.bet WITH (publish_via_partition_root = true); This will use parent table to replica data changes to target from sourceButCould you please provide a logic to implement the same with pglogical ?Do i need to add this publish_via_partition_root to pglogical.replication_set_add_table functionality ?you response is valuable in this aspectRegards,Durga Mahesh
В списке pgsql-general по дате отправления: