Re: pg_rewind fails on Windows where tablespaces are used

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Alexandra Wang <alexandra.wang.oss@gmail.com>, Chris Travers <chris.travers@stormatics.tech>, Farooq Rashed <farooq.rashed@desc.gov.ae>, pgsql-bugs@lists.postgresql.org
Date: 2024-11-07T23:59:08Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix readlink() for non-PostgreSQL junction points on Windows.

  2. Fix stat() for recursive junction points on Windows.

  3. Fix pg_rewind with in-place tablespaces when source is remote

  4. Make unlink() work for junction points on Windows.

  5. Use in-place tablespaces in regression test.

On Fri, Nov 08, 2024 at 09:53:40AM +1030, Andrew Dunstan wrote:
> I didn't push the fixes for release 12, like you requested, but I pushed
> the rest.
> 
> Unfortunately for various reasons I don't currently have a Windows test
> instance, but these were previously tested by Alexandra and me so I'm
> pretty confident they will be ok.
> 
> When I get my hands on a Windows machine again I will work on adding some
> Windows tests for pg_reqind with tablespaces.

OK.  Thanks for the update.
--
Michael