pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Improve pg_basebackup long file name test Windows robustness
Date: Mon, 3 Jul 2023 11:01:31 -0400
Message-ID: <98d7edb2-cfc0-d36d-a8cf-2bf2ff8e89f8@dunslane.net> (raw)
In-Reply-To: <f4bada59-73ce-002f-ad6a-8bc618c7fbab@dunslane.net>
References: <E1qGKEP-001iBZ-5q@gemulon.postgresql.org>
	<523D7BB7-53E9-46D3-A564-CEFA16C2E823@yesql.se>
	<f4bada59-73ce-002f-ad6a-8bc618c7fbab@dunslane.net>


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

view thread (10+ messages)

Message-ID: <98d7edb2-cfc0-d36d-a8cf-2bf2ff8e89f8@dunslane.net>
Permalink:  ../98d7edb2-cfc0-d36d-a8cf-2bf2ff8e89f8@dunslane.net/
Also on:    postgresql.org/message-id/98d7edb2-cfc0-d36d-a8cf-2bf2ff8e89f8@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, daniel@yesql.se, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve pg_basebackup long file name test Windows robustness
  In-Reply-To: <98d7edb2-cfc0-d36d-a8cf-2bf2ff8e89f8@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox