]> 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:15 +0000 (10:07 -0400)
commit86f23d90e560878b5b261c27263aba7d396b22ad
treece7a38a107dc2637fbb9015c33a221f121845003
parent4b15868b698a78b97a270b654903204ad0ac0f42
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