public inbox for [email protected]  
help / color / mirror / Atom feed
Regarding publish_via_partiton_root with pglogical
2+ messages / 2 participants
[nested] [flat]

* Regarding publish_via_partiton_root with pglogical
@ 2024-07-20 07:01  Durgamahesh Manne <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Durgamahesh Manne @ 2024-07-20 07:01 UTC (permalink / raw)
  To: [email protected]; [email protected]

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


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Regarding publish_via_partiton_root with pglogical
@ 2024-07-22 10:04  khan Affan <[email protected]>
  parent: Durgamahesh Manne <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: khan Affan @ 2024-07-22 10:04 UTC (permalink / raw)
  To: Durgamahesh Manne <[email protected]>; +Cc: [email protected]; [email protected]

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
>


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-07-22 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-07-20 07:01 Regarding publish_via_partiton_root with pglogical Durgamahesh Manne <[email protected]>
2024-07-22 10:04 ` khan Affan <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox