From 3b2af9e83c0bc351412c3df0c144960765258c00 Mon Sep 17 00:00:00 2001 From: Grigory Smolkin Date: Mon, 21 Oct 2019 13:42:51 +0300 Subject: [PATCH] [Issue #134] set recovery_target_timeline to "current" --- src/restore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/restore.c b/src/restore.c index a05fed19..9f83f860 100644 --- a/src/restore.c +++ b/src/restore.c @@ -976,7 +976,7 @@ create_recovery_conf(time_t backup_id, * timneline for PG12. */ #if PG_VERSION_NUM >= 120000 - fio_fprintf(fp, "recovery_target_timeline = '%u'\n", backup->tli); + fio_fprintf(fp, "recovery_target_timeline = 'current'\n"); #endif }