Skip to content

Commit 3b2af9e

Browse files
committed
[Issue #134] set recovery_target_timeline to "current"
1 parent 0ad9636 commit 3b2af9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ create_recovery_conf(time_t backup_id,
976976
* timneline for PG12.
977977
*/
978978
#if PG_VERSION_NUM >= 120000
979-
fio_fprintf(fp, "recovery_target_timeline = '%u'\n", backup->tli);
979+
fio_fprintf(fp, "recovery_target_timeline = 'current'\n");
980980
#endif
981981
}
982982

0 commit comments

Comments
 (0)