1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

pg_basebackup -F t now succeeds with a long symlink target

This commit is contained in:
Andrew Dunstan 2015-05-12 13:09:34 -04:00
parent ea12b3ca8c
commit 97e0aa6979

View File

@ -127,6 +127,6 @@ command_fails(
mkdir "$tempdir/$superlongname"; mkdir "$tempdir/$superlongname";
psql 'postgres', "CREATE TABLESPACE tblspc3 LOCATION '$tempdir/$superlongname';"; psql 'postgres', "CREATE TABLESPACE tblspc3 LOCATION '$tempdir/$superlongname';";
command_fails([ 'pg_basebackup', '-D', "$tempdir/tarbackup_l3", '-Ft' ], command_ok([ 'pg_basebackup', '-D', "$tempdir/tarbackup_l3", '-Ft' ],
'pg_basebackup tar with long symlink target fails'); 'pg_basebackup tar with long symlink target');
psql 'postgres', "DROP TABLESPACE tblspc3;"; psql 'postgres', "DROP TABLESPACE tblspc3;";