Re: Support logical replication of global object commands

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Zheng Li <zhengli10(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Support logical replication of global object commands
Date: 2022-08-16 11:47:59
Message-ID: CAA4eK1Ljij597FfKjbBF48-vQKcfFi4kzoF5OO_0QiGrBpor5w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 16, 2022 at 11:35 AM Zheng Li <zhengli10(at)gmail(dot)com> wrote:
>
> > Can we think of relying to send WAL of such DDLs just based on whether
> > there is a corresponding publication (ex. publication of ALL OBJECTS)?
> > I mean avoid database-specific filtering in decoding for such DDL
> > commands but not sure how much better it is than the current proposal?
>
> I think a publication of ALL OBJECTS sounds intuitive. Does it mean we'll
> publish all DDL commands, all commit and abort operations in every
> database if there is such publication of ALL OBJECTS?
>

Actually, I intend something for global objects. But the main thing
that is worrying me about this is that we don't have a clean way to
untie global object replication from database-specific object
replication.

--
With Regards,
Amit Kapila.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2022-08-16 11:50:05 Re: pg_receivewal and SIGTERM
Previous Message Daniel Gustafsson 2022-08-16 11:44:55 Re: pg_receivewal and SIGTERM