| From: | Sbob <sbob(at)quadratum-braccas(dot)com> |
|---|---|
| To: | Robert Treat <rob(at)xzilla(dot)net> |
| Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
| Subject: | Re: logical replication via log shipping |
| Date: | 2026-01-03 22:06:27 |
| Message-ID: | b010deef-ebfa-449f-b1bf-672a983c2af3@quadratum-braccas.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
On 1/3/26 1:51 PM, Robert Treat wrote:
> On Sat, Jan 3, 2026 at 1:36 PM Sbob <sbob(at)quadratum-braccas(dot)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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2026-01-04 16:29:14 | Re: struggling with logical replication and WAL segments removed even with max_slot_wal_keep_size = -1 |
| Previous Message | Robert Treat | 2026-01-03 20:51:10 | Re: logical replication via log shipping |