From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix pg_basebackup long-path test on Windows
Date: Mon, 26 Oct 2026 14:20:57 +0000
Message-ID: <E1xLLZJ-00000000qZY-3tYw@gemulon.postgresql.org> (raw)
Fix pg_basebackup long-path test on Windows
Create the long tablespace directory through the short side of the
Windows junction. Also check mkdir and report its underlying error
instead of failing later with a misleading misleading error for
CREATE TABLESPACE.
Author: Harrison Booth <harrisontbooth@gmail.com>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAAH-eSV4BJS7W=qRf7=Hk09XD3NhFOVvvKRjH+Lh0v9e_S=Seg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a757132e2fc8d443d557667b991e432c34cd0068
Modified Files
--------------
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: dgustafsson@postgresql.org
Subject: Re: pgsql: Fix pg_basebackup long-path test on Windows
In-Reply-To: <E1xLLZJ-00000000qZY-3tYw@gemulon.postgresql.org>
References: <E1xLLZJ-00000000qZY-3tYw@gemulon.postgresql.org>
* 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