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(at)gmail(dot)com>
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)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(-)