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-27 07:47:28
Message-ID: CAFPTHDY5uKjkYg-QsMSOrW216isPTTjTY=KxMHjY81aLDvNPxA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 24, 2025 at 8:29 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
>
> On Wed, Oct 22, 2025 at 10:25 AM Ajin Cherian <itsajin(at)gmail(dot)com> wrote:
> >
> >
> > I've modified the comments to reflect the new changes.
> >
> > attaching patch v18 with the above changes.
> >
>
> Thanks for the patch. The test is still not clear. Can we please add
> the test after the test of "Test logical failover slots corresponding
> to different plugins" finishes instead of adding it in between?
>

I've rewritten the tests again to make this possible. Attaching v19
which has the modified tap test.

regards,
Ajin Cherian
Fujitsu Australia

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jakub Wartak 2025-10-27 08:06:53 Re: [PATCH] Add Windows support for backtrace_functions (MSVC only)
Previous Message Amit Langote 2025-10-27 07:24:29 Re: Batching in executor