]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:38 +0000 (10:07 -0400)
commit088e395c8ae06047784c41b08c54d526d00517c9
treefb49f5ff82c35f8bd75f98854b4dc9c5b9136c17
parentaf36c13a7e92863413c433d3acd8aea62b216e9a
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