Skip to content

Commit 308f763

Browse files
committed
Merge branch 'PGPRO9_6' into PGPROEE9_6
2 parents cd38d4a + 2cc1a26 commit 308f763

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_probackup/restore.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ do_restore(time_t backup_id,
143143
satisfy_recovery_target(base_backup, rt) &&
144144
(backup_id_found || backup_id == 0))
145145
goto base_backup_found;
146+
else
147+
backup_id_found = false;
146148
}
147149
/* no full backup found, cannot restore */
148150
elog(ERROR, "no full backup found, cannot restore.");

0 commit comments

Comments
 (0)