Hi there! It looks good to me!
But I have a question. How is the partialxlogfname freed in case of an error?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных