Skip to content

Commit 2cc1a26

Browse files
committed
Merge commit '5e37fc6ab4f0b7db0a91a8172192544b939c24e6' into PGPRO9_6
2 parents 4bd685c + 5e37fc6 commit 2cc1a26

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)