Re: Support logical replication of global object commands - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Support logical replication of global object commands
Date
Msg-id CAA4eK1Ljij597FfKjbBF48-vQKcfFi4kzoF5OO_0QiGrBpor5w@mail.gmail.com
Whole thread Raw
In response to Re: Support logical replication of global object commands  (Zheng Li <zhengli10@gmail.com>)
Responses Re: Support logical replication of global object commands
List pgsql-hackers
On Tue, Aug 16, 2022 at 11:35 AM Zheng Li <zhengli10@gmail.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.



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pg_receivewal and SIGTERM
Next
From: Bharath Rupireddy
Date:
Subject: Re: pg_receivewal and SIGTERM