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

From Andrew Dunstan
Subject Re: pgsql: Improve pg_basebackup long file name test Windows robustness
Date
Msg-id 98d7edb2-cfc0-d36d-a8cf-2bf2ff8e89f8@dunslane.net
Whole thread Raw
In response to Re: pgsql: Improve pg_basebackup long file name test Windows robustness  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers


On 2023-07-03 Mo 10:51, Andrew Dunstan wrote:


On 2023-07-03 Mo 10:19, Daniel Gustafsson wrote:
On 3 Jul 2023, at 16:08, Andrew Dunstan <andrew@dunslane.net> wrote:

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.
+dir_symlink "$pgdata", "$lftmp/pgdata";

dir_symlink doesn't exist in REL_12_STABLE.


Argh!. ok, thanks, will fix.




Neither does rel 13 have it. I've reverted all this for versions older than 14. It means running TAP tests on older version on Windows could be fragile, but at least my animals don't run TAP tests on older versions.


cheers


andrew



--
Andrew Dunstan
EDB: https://www.enterprisedb.com

pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Revert "Improve pg_basebackup long file name test Windows robust
Next
From: Tomas Vondra
Date:
Subject: pgsql: Remove expensive test of postgres_fdw batch inserts