Thread: pgsql: Improve pg_basebackup long file name test Windows robustness

pgsql: Improve pg_basebackup long file name test Windows robustness

From
Andrew Dunstan
Date:
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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bb8305a654b61e2faaa38dc3d72e09bf0bd6f602

Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)