Re: pgsql: Improve pg_basebackup long file name test Windows robustness

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Improve pg_basebackup long file name test Windows robustness
Date: 2023-07-03 14:19:14
Message-ID: 523D7BB7-53E9-46D3-A564-CEFA16C2E823@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

> On 3 Jul 2023, at 16:08, Andrew Dunstan <andrew(at)dunslane(dot)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.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2023-07-03 14:50:07 pgsql: Use older package name in pg_basebackup test
Previous Message Andrew Dunstan 2023-07-03 14:09:36 pgsql: Improve pg_basebackup long file name test Windows robustness