1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-25 22:11:06 +02:00

Fix wrong error message.

This commit is contained in:
stalkerg 2016-11-16 18:14:29 +03:00
parent 7ba03021c5
commit 0f16f1f01e

View File

@ -151,9 +151,8 @@ do_backup_database(parray *backup_list, pgBackupOption bkupopt)
prev_backup = catalog_get_last_data_backup(backup_list, current.tli);
if (prev_backup == NULL)
elog(ERROR, "Valid full backup not found for "
"differential backup. Either create a full backup "
"or validate existing one.");
elog(ERROR, "Timeline has changed since last full backup."
"Create new full backup before an incremental one.");
}
/* clear ptrack files for FULL and DIFF backup */