Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf19d8f1

Browse files
committed
pg_basebackup: canonicalize old and new tablespace paths
This avoids problems with double-slash-specified paths.Patch by Ian Barwick
1 parent33cb8ff commitf19d8f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,9 @@ tablespace_list_append(const char *arg)
199199
exit(1);
200200
}
201201

202+
canonicalize_path(cell->old_dir);
203+
canonicalize_path(cell->new_dir);
204+
202205
if (tablespace_dirs.tail)
203206
tablespace_dirs.tail->next=cell;
204207
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp