Re: pg_basebackup check vs Windows file path limits - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: pg_basebackup check vs Windows file path limits
Date
Msg-id 67093EFC-3800-48B0-9E20-82A37A5F2A7B@yesql.se
Whole thread Raw
In response to Re: pg_basebackup check vs Windows file path limits  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_basebackup check vs Windows file path limits
List pgsql-hackers
> On 4 Jul 2023, at 20:19, Andrew Dunstan <andrew@dunslane.net> wrote:

> But sadly we're kinda back where we started. fairywren is failing on REL_16_STABLE. Before the changes the failure
occurredbecause the test script was unable to create the file with a path > 255. Now that we have a way to create the
filethe test for pg_basebackup to reject files with names > 100 fails, I presume because the server can't actually see
thefile. At this stage I'm thinking the best thing would be to skip the test altogether on windows if the path is
longerthan 255. 

That does sound like a fairly large hammer for a nail small enough that we
should be able to fix it, but I don't have any other good ideas off the cuff.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Melih Mutlu
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Next
From: Bruce Momjian
Date:
Subject: Re: PG 16 draft release notes ready