Re: pgsql: Prevent invalidation of newly synced replication slots.

Amit Kapila <amit.kapila16@gmail.com>

From: Amit Kapila <amit.kapila16@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>, Greg Burd <greg@burd.me>, Thomas Munro <thomas.munro@gmail.com>, Amit Kapila <akapila@postgresql.org>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Bryan Green <dbryan.green@gmail.com>
Date: 2026-01-28T11:20:18Z
Lists: pgsql-hackers
On Tue, Jan 27, 2026 at 11:47 PM Andres Freund <andres@anarazel.de> wrote:
>
> I don't know why the standby is created with has_restoring => 1.
>

This is not required. I think this is copy-paste oversight.

> But it
> shouldn't be related to the issue, I think?
>

Yeah, tried without this as well apart from other experiments.

-- 
With Regards,
Amit Kapila.



Commits

  1. Fix CI failure introduced in commit 851f6649cc.

  2. Prevent invalidation of newly synced replication slots.

  3. Prevent invalidation of newly created replication slots.