Hi,

In the thread about incremental backups after a timeline switch [1],
Fujii-san suggested sharing the filtering logic between GetWalSummaries()
and FilterWalSummaries() for v20.

Since f549ecd2660, both functions make the same timeline and LSN checks.
The attached patch puts those checks in one place (atleast it will make
sure we do not diverge again).

Thoughts?

[1]
https://postgr.es/m/CAHGQGwHgE=cc6k-jqzd4ete5n_gpsgfot3g3jaeizggaya1...@mail.gmail.com

Regards,
Ayush

Attachment: v1-0001-Share-WAL-summary-filtering-logic.patch
Description: Binary data

Reply via email to