Set proper xl_prev in basebackup, when possible.

In a passing fix two minor issues with basabackup:
* check that we can't create branches with pre-initdb LSN's
* normalize branch LSN's that are pointing to the segment boundary

patch by @knizhnik
closes #506
This commit is contained in:
Konstantin Knizhnik
2021-09-01 17:04:21 +03:00
committed by Stas Kelvich
parent 45c09c1cdd
commit b227c63edf
7 changed files with 104 additions and 23 deletions