mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-02-16 15:18:40 +02:00
[Issue #134] set recovery_target_timeline to "current"
This commit is contained in:
parent
0ad96362d0
commit
3b2af9e83c
@ -976,7 +976,7 @@ create_recovery_conf(time_t backup_id,
|
|||||||
* timneline for PG12.
|
* timneline for PG12.
|
||||||
*/
|
*/
|
||||||
#if PG_VERSION_NUM >= 120000
|
#if PG_VERSION_NUM >= 120000
|
||||||
fio_fprintf(fp, "recovery_target_timeline = '%u'\n", backup->tli);
|
fio_fprintf(fp, "recovery_target_timeline = 'current'\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user