issue修复:basebackup在xlog fetch模式下备份失败修复
This commit is contained in:
@ -1609,7 +1609,7 @@ static int64 sendDir(const char *path, int basepathlen, bool sizeonly, List *tab
|
|||||||
if (ENABLE_DSS && is_dss_file(pathbuf)) {
|
if (ENABLE_DSS && is_dss_file(pathbuf)) {
|
||||||
_tarWriteHeader(pathbuf, NULL, &statbuf);
|
_tarWriteHeader(pathbuf, NULL, &statbuf);
|
||||||
} else {
|
} else {
|
||||||
_tarWriteHeader(pathbuf + basepathlen + 1, NULL, &statbuf);
|
_tarWriteHeader("pg_xlog/archive_status", NULL, &statbuf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user