pgsql: Improve pg_basebackup long file name test Windows robustness

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve pg_basebackup long file name test Windows robustness
Date: 2023-07-03 14:08:45
Message-ID: E1qGKEP-001iBZ-5q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/088e395c8ae06047784c41b08c54d526d00517c9

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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2023-07-03 14:09:36 pgsql: Improve pg_basebackup long file name test Windows robustness
Previous Message Andrew Dunstan 2023-07-03 14:08:44 pgsql: Improve pg_basebackup long file name test Windows robustness