]> 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:45 +0000 (10:07 -0400)
commitbb8305a654b61e2faaa38dc3d72e09bf0bd6f602
tree99fe039b4304c8a60d35228ba57145a7038cd5fb
parent45cfa87e9c56432dc4f332350a3556b3700010c9
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