Improve pg_basebackup long file name test Windows robustness
authorAndrew Dunstan
Mon, 3 Jul 2023 14:06:26 +0000 (10:06 -0400)
committerAndrew Dunstan
Mon, 3 Jul 2023 14:09:12 +0000 (10:09 -0400)
commit16152705b31d12c339e3a9ee44ed43972a6ee96c
tree34109c00a4731d2b129687afc01b519932606a2d
parentc24e9ef330ac7da1d1628d21b2d5defb0ec03c54
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