public inbox for [email protected]  
help / color / mirror / Atom feed
From: Justin <[email protected]>
To: Divyansh Gupta JNsThMAudy <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Need help in logical replication
Date: Mon, 13 Jan 2025 11:45:25 -0500
Message-ID: <CALL-XeMWJ7bYhA0OdGi4kZbBTgdc8LH3DraVsnVyDfO0GSnwyQ@mail.gmail.com> (raw)
In-Reply-To: <CAHesJ5JNb-yV5UnUdQVOeYDibtTpr79VjqMozWL=KjqcyvBKdA@mail.gmail.com>
References: <CAHesJ5JNb-yV5UnUdQVOeYDibtTpr79VjqMozWL=KjqcyvBKdA@mail.gmail.com>

Hi Divyansh,

Go to the subscriber and look for errors in the PostgreSQL logs.

When creating a subscription the default action is to sync the tables. Is
the subscriber table empty??

Thank you,

On Mon, Jan 13, 2025 at 7:30 AM Divyansh Gupta JNsThMAudy <
[email protected]> wrote:

> Hii PostgreSQL Community,
>
> I am setting up logical replication between two clusters in the same
> subnet group. I’ve created a publication on the primary and a subscription
> on the secondary, and the replication slot has been created. However, the
> slot remains inactive, and changes aren’t being applied on the subscriber.
>
> I am using AWS RDS for that
>
> Could you please help me identify the possible cause and resolution for
> this issue?
>
> Thank you in advance!
>
> [image: image.png]
> [image: image.png]
>
> CREATE PUBLICATION logical_replication_test
>
> FOR TABLE dbo.logical_rep_test;
>
> CREATE SUBSCRIPTION logical_replication_test_su
>
> CONNECTION 'conn_strig'
>
> PUBLICATION logical_replication_test;
>
>


Attachments:

  [image/png] image.png (21.4K, 3-image.png)
  download | view image

  [image/png] image.png (30.7K, 4-image.png)
  download | view image

view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Need help in logical replication
  In-Reply-To: <CALL-XeMWJ7bYhA0OdGi4kZbBTgdc8LH3DraVsnVyDfO0GSnwyQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox