Re: Regarding publish_via_partiton_root with pglogical

From: khan Affan <bawag773(at)gmail(dot)com>
To: Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org, pgsql-in-general(at)postgresql(dot)org
Subject: Re: Regarding publish_via_partiton_root with pglogical
Date: 2024-07-22 10:04:51
Message-ID: CAF4emOkmPQLUDfKM5W5wov3aEVBzLdiJNLizDEAjLPgTDzQ=sQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-in-general

Hi Durgamahesh

In 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(at)gmail(dot)com> wrote:

> Hi
>
> Respected Team
>
> I know the use case of implementing the partitions with publication and
> subscription of built-in logical replication
> CREATE 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 source
> But
> Could 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 aspect
>
> Regards,
> Durga Mahesh
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ertan Küçükoglu 2024-07-22 10:10:24 Re: Windows installation problem at post-install step
Previous Message Francisco Olarte 2024-07-22 07:09:19 Re: Re. Select with where condition times out

Browse pgsql-in-general by date

  From Date Subject
Next Message Dunia Ramazani 2024-07-22 17:45:28 Unsuscribe
Previous Message Muhammad Imtiaz 2024-07-22 04:59:53 Re: Fwd: Regarding tables detach concurrently with run_maintenance_proc()