Re: Making pg_rewind faster - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Making pg_rewind faster
Date
Msg-id aPwkyUHaxnkyN2ek@paquier.xyz
Whole thread Raw
In response to Re: Making pg_rewind faster  (Srinath Reddy Sadipiralla <srinath2133@gmail.com>)
Responses Re: Making pg_rewind faster
List pgsql-hackers
On Fri, Oct 24, 2025 at 05:51:54PM +0530, Srinath Reddy Sadipiralla wrote:
> -        * These files exist on the source and the target services, so they
> should
> +        * These files exist on the source and the target servers, so they
> should

Not sure what my fingers were doing here.

> I think as we are not using mtime to show that the file has not been copied
> and been skipped ,instead we are doing the same with the debug message
> (qr/pg_wal\/$wal_seg_skipped \(NONE\)/,), so stat calculation of this WAL
> segment can be removed.

Yes, removing this one makes sense.

And, to keep it short: applied.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Remove Item type
Next
From: David Rowley
Date:
Subject: Have the planner convert COUNT(1) / COUNT(not_null_col) to COUNT(*)