Skip to content

Commit 0f16f1f

Browse files
committed
Fix wrong error message.
1 parent 7ba0302 commit 0f16f1f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

backup.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,8 @@ do_backup_database(parray *backup_list, pgBackupOption bkupopt)
151151

152152
prev_backup = catalog_get_last_data_backup(backup_list, current.tli);
153153
if (prev_backup == NULL)
154-
elog(ERROR, "Valid full backup not found for "
155-
"differential backup. Either create a full backup "
156-
"or validate existing one.");
154+
elog(ERROR, "Timeline has changed since last full backup."
155+
"Create new full backup before an incremental one.");
157156
}
158157

159158
/* clear ptrack files for FULL and DIFF backup */

0 commit comments

Comments
 (0)