]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Symlink pg_replslot robustly on Windows in pg_basebackup test
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 8 Jul 2024 17:46:21 +0000 (13:46 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 8 Jul 2024 17:52:39 +0000 (13:52 -0400)
commit468b2367d2fe29fe1a53bcba408b472dc8f5051b
tree6773010a79378fc0c2f9b87ba19d0096d09e8232
parent33470429f2bdb967d945b72a5b553fbc6d1d8f96
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.
src/bin/pg_basebackup/t/010_pg_basebackup.pl