Skip to content

Commit d9b7dee

Browse files
committed
[Issue #66] nitpicking
1 parent 9bc310a commit d9b7dee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/restore.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ restore_chain(pgBackup *dest_backup, parray *parent_chain,
832832
join_path_components(full_file_path, pgdata_path, file->rel_path);
833833

834834
fio_pgFileDelete(file, full_file_path);
835-
elog(WARNING, "Deleted file \"%s\"", full_file_path);
835+
elog(VERBOSE, "Deleted file \"%s\"", full_file_path);
836836

837837
/* shrink pgdata list */
838838
parray_remove(pgdata_files, i);
@@ -1461,6 +1461,7 @@ pg12_recovery_config(pgBackup *backup, bool add_include)
14611461
elog(ERROR, "cannot write to file \"%s\": %s", postgres_auto_path,
14621462
strerror(errno));
14631463

1464+
// TODO: check if include 'probackup_recovery.conf' already exists
14641465
fio_fprintf(fp, "\n# created by pg_probackup restore of backup %s at '%s'\n",
14651466
base36enc(backup->start_time), current_time_str);
14661467
fio_fprintf(fp, "include '%s'\n", "probackup_recovery.conf");

0 commit comments

Comments
 (0)