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

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

On Wed, Dec 10, 2025 at 10:37 AM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> Attaching v34 addressing the above comments.
>

0001 looks mostly good to me. I have made minor edits in the comments
and added error_code for one of the error messages. Please check
attached and let me know what you think?

--
With Regards,
Amit Kapila.

Attachment Content-Type Size
v35-0001-Signal-backends-running-pg_sync_replication_slot.patch application/octet-stream 10.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Potapov Alexander 2025-12-10 12:32:22 [Patch] Improve the test src/test/postmaster/t/003_start_stop.pl
Previous Message Nazir Bilal Yavuz 2025-12-10 11:59:41 Re: Speed up COPY FROM text/CSV parsing using SIMD