diff --git a/src/backup.c b/src/backup.c index bbcc04ef..e2293fe4 100644 --- a/src/backup.c +++ b/src/backup.c @@ -647,7 +647,7 @@ do_backup_instance(PGconn *backup_conn, PGNodeInfo *nodeInfo, bool no_sync, bool file->name = last_dir_separator(file->rel_path); - if (file->name == NULL) + if (file->name == NULL) // TODO: do it in pgFileInit file->name = file->rel_path; else file->name++;