Improve pg_basebackup long file name test Windows robustness

Andrew Dunstan <andrew@dunslane.net>

Commit: d7a186c775834d4bf07c84a6c3de16ba94c82afa
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2023-07-03T14:07:32Z
Releases: 13.12
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

Files

PathChange+/−
src/bin/pg_basebackup/t/010_pg_basebackup.pl modified +6 −2