mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-09 14:45:47 +02:00
[Issue #66] nitpicking
This commit is contained in:
parent
9bc310af8d
commit
d9b7dee30f
@ -832,7 +832,7 @@ restore_chain(pgBackup *dest_backup, parray *parent_chain,
|
||||
join_path_components(full_file_path, pgdata_path, file->rel_path);
|
||||
|
||||
fio_pgFileDelete(file, full_file_path);
|
||||
elog(WARNING, "Deleted file \"%s\"", full_file_path);
|
||||
elog(VERBOSE, "Deleted file \"%s\"", full_file_path);
|
||||
|
||||
/* shrink pgdata list */
|
||||
parray_remove(pgdata_files, i);
|
||||
@ -1461,6 +1461,7 @@ pg12_recovery_config(pgBackup *backup, bool add_include)
|
||||
elog(ERROR, "cannot write to file \"%s\": %s", postgres_auto_path,
|
||||
strerror(errno));
|
||||
|
||||
// TODO: check if include 'probackup_recovery.conf' already exists
|
||||
fio_fprintf(fp, "\n# created by pg_probackup restore of backup %s at '%s'\n",
|
||||
base36enc(backup->start_time), current_time_str);
|
||||
fio_fprintf(fp, "include '%s'\n", "probackup_recovery.conf");
|
||||
|
Loading…
Reference in New Issue
Block a user