Improve pg_basebackup long file name test Windows robustness
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Jul 2023 14:06:26 +0000 (10:06 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Jul 2023 14:06:26 +0000 (10:06 -0400)
commit9436535b08c13245d18c0d2567a7c00f958b833e
tree82fff3c28c41e33cb4bca9c19be2f95a932b8dba
parenta4cfeeca5a97f2b5969c31aa69ba775af95ee5a3
Improve pg_basebackup long file name test Windows robustness

Creation of a file with a very long name can create problems on Windows
due to its file path limits. Work around that by creating the file via a
symlink with a shorter name.

Error displayed by buildfarm animal fairywren.o

Backpatch to all live branches
src/bin/pg_basebackup/t/010_pg_basebackup.pl