Re: Improve pg_sync_replication_slots() to wait for primary to advance

From: shveta malik <shveta(dot)malik(at)gmail(dot)com>
To: Ajin Cherian <itsajin(at)gmail(dot)com>
Cc: Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, shveta malik <shveta(dot)malik(at)gmail(dot)com>
Subject: Re: Improve pg_sync_replication_slots() to wait for primary to advance
Date: 2025-10-06 06:12:46
Message-ID: CAJpy0uADtrQSNp4JNXWLhucGMkCAGT22r3ekVUNAV5Wg45tD_Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 6, 2025 at 10:22 AM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
> On Thu, Oct 2, 2025 at 4:53 PM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
> >
> >
> > Attaching patch v15 addressing these comments.
> >
>
> It seems v15 had a compilation issue. Resolved it. Attaching v15 again.
>

Verified patch, works well.

I have changed doc as per Ashutosh's suggestion in [1]. Please include
if you find it okay. Attached the patch as txt file.

[1]: https://www.postgresql.org/message-id/CAExHW5vCLTMQcFKZXrT8bjZpQWvhBUL7Ge6Ufb5oSLh0bp10PA%40mail.gmail.com

thanks
Shveta

Attachment Content-Type Size
0001-Doc-update.patch.txt text/plain 3.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rahila Syed 2025-10-06 06:16:19 Re: Allow reading LSN written by walreciever, but not flushed yet
Previous Message Amit Kapila 2025-10-06 06:11:31 Re: Logical Replication of sequences