提交 f1b9a74f 编写于 作者: M Max Yang 提交者: Xin Zhang

Fix pg_basebackup -E option.

Server side should exclude sub directory even parent directory
wanted.
上级 424db367
......@@ -877,7 +877,7 @@ sendDir(char *path, int basepathlen, bool sizeonly, List *tablespaces,
}
}
if (!skip_this_dir)
size += sendDir(pathbuf, basepathlen, sizeonly, tablespaces, NIL);
size += sendDir(pathbuf, basepathlen, sizeonly, tablespaces, exclude);
}
else if (S_ISREG(statbuf.st_mode))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册