I have also done a review of the patch and some testing. The patch looks good, and I agree with Robert's comments.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных