Re: Logical replication support for generic wal record

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Natarajan R <nataraj3098(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical replication support for generic wal record
Date: 2022-08-22 08:31:50
Message-ID: CAA4eK1+ORvnWKW7UwQsoDNTZNYXm0Scd+k+ZhmVu+uR7SZaMjw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 22, 2022 at 11:59 AM Natarajan R <nataraj3098(at)gmail(dot)com> wrote:
>
> Hi All,
>
> I am writing a postgres extension which writes only generic wal record, but this wal is not recognized by logical replication decoder. I have a basic understanding of how logical replication(COPY command for initial sync, wal replica for final 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-08-22 08:38:39 Re: Fix typo kill_prio_tuple
Previous Message Peter Smith 2022-08-22 08:27:43 Re: Column Filtering in Logical Replication