Re: Replication slot is not able to sync up - Mailing list pgsql-hackers

From Amit Kapila
Subject Re: Replication slot is not able to sync up
Date
Msg-id CAA4eK1+MdzAT5BvAM=2Xbieig3Br07gOcrozLJAkm58mthGDHg@mail.gmail.com
Whole thread Raw
In response to Re: Replication slot is not able to sync up  (shveta malik <shveta.malik@gmail.com>)
List pgsql-hackers
On Mon, Jun 16, 2025 at 9:27 AM shveta malik <shveta.malik@gmail.com> wrote:
>
> Thanks Peter and Amit for feedback. I have updated the patch.
>

<para>
+     When slot-synchronization setup is done as recommended, and
+     slot-synchronization is performed the very first time either automatically
+     or by <link linkend="pg-sync-replication-slots">
+     <function>pg_sync_replication_slots</function></link>,
+     then for the synchronized slot to be created and persisted on the standby,
+     one condition must be met. The logical replication slot on the primary
+     must reach a state where the WALs and system catalog rows retained by
+     the slot are also present on the corresponding standby server. This is
+     needed to prevent any data loss and to allow logical replication
to continue
+
...

This whole paragraph sounds like a duplicate of its previous section,
and the line alignment in the first paragraph has some issues.

--
With Regards,
Amit Kapila.



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pg_upgrade fails with an error "object doesn't exist"
Next
From: shveta malik
Date:
Subject: Re: POC: enable logical decoding when wal_level = 'replica' without a server restart