aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index f2b54bc0261..83bf2f5519f 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -199,6 +199,9 @@ tablespace_list_append(const char *arg)
exit(1);
}
+ canonicalize_path(cell->old_dir);
+ canonicalize_path(cell->new_dir);
+
if (tablespace_dirs.tail)
tablespace_dirs.tail->next = cell;
else