Closed
Description
It would be nice to have an ability to govern the amount of WAL keeped by retention measured by a number of backups.
A ---> --A1 ---> A2 ---> A3 ---> timeline 1
A - FULL backup
A{1,3} - incremental backups.
If wal-depth
is set to 1, then keep only WAL >= START LSN of A3.
If wal-depth
is set to 2, then keep only WAL >= START LSN of A2.