public inbox for [email protected]  
help / color / mirror / Atom feed
Re: Need help in logical replication
2+ messages / 2 participants
[nested] [flat]

* Re: Need help in logical replication
@ 2025-01-13 16:45 Justin <[email protected]>
  2025-01-13 17:19 ` Re: Need help in logical replication Divyansh Gupta JNsThMAudy <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Justin @ 2025-01-13 16:45 UTC (permalink / raw)
  To: Divyansh Gupta JNsThMAudy <[email protected]>; +Cc: pgsql-general

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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Need help in logical replication
  2025-01-13 16:45 Re: Need help in logical replication Justin <[email protected]>
@ 2025-01-13 17:19 ` Divyansh Gupta JNsThMAudy <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Divyansh Gupta JNsThMAudy @ 2025-01-13 17:19 UTC (permalink / raw)
  To: Justin <[email protected]>; +Cc: pgsql-general

Thank you for the response Justin found and fixed the error

On Mon, 13 Jan 2025, 10:15 pm Justin, <[email protected]> wrote:

> 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

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2025-01-13 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-01-13 16:45 Re: Need help in logical replication Justin <[email protected]>
2025-01-13 17:19 ` Divyansh Gupta JNsThMAudy <[email protected]>

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