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 <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Discussion: 
https://postgr.es/m/CAAH-eSV4BJS7W=qRf7=Hk09XD3NhFOVvvKRjH+Lh0v9e_S=s...@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 via email to