pgsql: Improve pg_basebackup long file name test Windows robustness - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Improve pg_basebackup long file name test Windows robustness
Date
Msg-id E1qGKFE-001iD3-Lv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/16152705b31d12c339e3a9ee44ed43972a6ee96c

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


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Improve pg_basebackup long file name test Windows robustness
Next
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Improve pg_basebackup long file name test Windows robustness