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

From: Ajin Cherian <itsajin(at)gmail(dot)com>
To: shveta malik <shveta(dot)malik(at)gmail(dot)com>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(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-10-15 04:26:55
Message-ID: CAFPTHDbfZq+eaBj3coYO403pTV7T=n95Gz-YbWf4RrSRXe2ubw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 13, 2025 at 6:57 PM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
>
> I have modified the patch to use the same wait logic as the slotsync
> worker. I have also incorporated the document changes that you shared.
> Attaching v16 with the above changes.
>

Updated the patch with a tap test.
Attaching patch v17 which has a tap test to test the feature added.

regards,
Ajin Cherian
Fujitsu Australia

Attachment Content-Type Size
v17-0001-Improve-initial-slot-synchronization-in-pg_sync_.patch application/octet-stream 29.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message John Naylor 2025-10-15 04:51:35 Re: get rid of RM_HEAP2_ID
Previous Message shveta malik 2025-10-15 04:11:31 Re: Logical Replication of sequences