Commit f19d8f14 authored by Bruce Momjian's avatar Bruce Momjian

pg_basebackup: canonicalize old and new tablespace paths

This avoids problems with double-slash-specified paths.

Patch by Ian Barwick
parent 33cb8ff6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment