pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Symlink pg_replslot robustly on Windows in pg_basebackup test
Date: Mon, 08 Jul 2024 21:36:01 +0000
Message-ID: <E1sQw1h-000u5L-Sn@gemulon.postgresql.org> (raw)

Symlink pg_replslot robustly on Windows in pg_basebackup test

This reverts commit e9f15bc9. Instead of a hacky solution that didn't
work on Windows, we avoid trying to move the directory possibly across
drives, and instead remove it and recreate it in the new location.

Discussion: https://postgr.es/m/20240707070243.sb77kp4ubowauctz@awork3.anarazel.de

Backpatch to release 14 like the previous patch.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/468b2367d2fe29fe1a53bcba408b472dc8f5051b

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1sQw1h-000u5L-Sn@gemulon.postgresql.org>
Permalink:  ../E1sQw1h-000u5L-Sn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sQw1h-000u5L-Sn@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Symlink pg_replslot robustly on Windows in pg_basebackup test
  In-Reply-To: <E1sQw1h-000u5L-Sn@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox