Re: Logical replication support for generic wal record - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Logical replication support for generic wal record
Date
Msg-id CAA4eK1+ORvnWKW7UwQsoDNTZNYXm0Scd+k+ZhmVu+uR7SZaMjw@mail.gmail.com
Whole thread Raw
In response to Logical replication support for generic wal record  (Natarajan R <nataraj3098@gmail.com>)
List pgsql-hackers
On Mon, Aug 22, 2022 at 11:59 AM Natarajan R <nataraj3098@gmail.com> wrote:
>
> Hi All,
>
> I am writing a postgres extension which writes only generic wal record, but this wal is not recognized by logical
replicationdecoder. I have a basic understanding of how logical replication(COPY command for initial sync, wal replica
forfinal sync) works, can you please tell us a way to support this? 
>

Did you try with a custom WAL resource manager [1][2]?

[1] - https://www.postgresql.org/docs/devel/custom-rmgr.html
[2] - https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=5c279a6d350205cc98f91fb8e1d3e4442a6b25d1

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: Re: Column Filtering in Logical Replication
Next
From: Daniel Gustafsson
Date:
Subject: Re: Fix typo kill_prio_tuple