Re: logical replication via log shipping - Mailing list pgsql-admin

From Sbob
Subject Re: logical replication via log shipping
Date
Msg-id b010deef-ebfa-449f-b1bf-672a983c2af3@quadratum-braccas.com
Whole thread Raw
In response to Re: logical replication via log shipping  (Robert Treat <rob@xzilla.net>)
List pgsql-admin
On 1/3/26 1:51 PM, Robert Treat wrote:
> On Sat, Jan 3, 2026 at 1:36 PM Sbob <sbob@quadratum-braccas.com> wrote:
>> Is there a way to perform logical replication via log shipping?
>>
> The short answer is no; as it stands now, the built in stuff for log
> shipping via wal_archiving is all designed around the binary file
> formats and the features and limitations that come with that.
>
> That said, one could in theory use something like logical replication
> and wal2json to create "logical log files" and then ship those files
> to remote systems which then decode and apply them. To the degree that
> qualifies as log shipping to you, that is certainly one possible way
> to do something similar to what you are asking.
>
>
> Robert Treat
> https://xzilla.net


Thanks! can you point me to an example of how I would decode the logical 
log files?





pgsql-admin by date:

Previous
From: Robert Treat
Date:
Subject: Re: logical replication via log shipping
Next
From: Laurenz Albe
Date:
Subject: Re: struggling with logical replication and WAL segments removed even with max_slot_wal_keep_size = -1