1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-23 11:45:36 +02:00

minor bugfix: canonicalize tablespace path in read_tablespace_map()

This commit is contained in:
Grigory Smolkin 2019-04-29 23:53:24 +03:00
parent 7d30e5b33f
commit d042b8e0db

View File

@ -1223,6 +1223,8 @@ read_tablespace_map(parray *files, const char *backup_dir)
file->linked = pgut_malloc(strlen(path) + 1);
strcpy(file->linked, path);
canonicalize_path(file->linked);
parray_append(files, file);
}