Symlink pg_replslot robustly on Windows in pg_basebackup test
authorAndrew Dunstan
Mon, 8 Jul 2024 17:46:21 +0000 (13:46 -0400)
committerAndrew Dunstan
Mon, 8 Jul 2024 17:52:27 +0000 (13:52 -0400)
commitd3e213ae1359f0bcfa9c446166d187811a7db8bc
treed4f62e6315189486f66f371a7e4c95195aa0ca92
parente68cf81bfea4561518d6b890f75e7aad70b6fbb1
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[email protected]

Backpatch to release 14 like the previous patch.
src/bin/pg_basebackup/t/010_pg_basebackup.pl