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:07:32 +0000 (10:07 -0400)
commitd7a186c775834d4bf07c84a6c3de16ba94c82afa
treeed09ae58de9a9e82830646610dc83d5c684e30b7
parentb102e80ab82203e5e65e902c28cdab491d1468b0
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