public inbox for [email protected]
help / color / mirror / Atom feedFrom: khan Affan <[email protected]>
To: Durgamahesh Manne <[email protected]>
Cc: [email protected]
Cc: [email protected]
Subject: Re: Regarding publish_via_partiton_root with pglogical
Date: Mon, 22 Jul 2024 15:04:51 +0500
Message-ID: <CAF4emOkmPQLUDfKM5W5wov3aEVBzLdiJNLizDEAjLPgTDzQ=sQ@mail.gmail.com> (raw)
In-Reply-To: <CAJCZkoLW8vhWbB6BZophZvkg2BmkpqbYj39kiYVdy9td5eQJQg@mail.gmail.com>
References: <CAJCZkoLW8vhWbB6BZophZvkg2BmkpqbYj39kiYVdy9td5eQJQg@mail.gmail.com>
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 <
[email protected]> 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
>
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected]
Subject: Re: Regarding publish_via_partiton_root with pglogical
In-Reply-To: <CAF4emOkmPQLUDfKM5W5wov3aEVBzLdiJNLizDEAjLPgTDzQ=sQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox