]> 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:24 +0000 (10:07 -0400)
commit83ed4de20fdb60457d315065fc7895dfb51108be
tree915c0f5417c0b10416328deafcbf033923fe133e
parentc8987ea90cf2b02269f4cc7584b8d1a28e9376b4
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