Here is the rebased patchset.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных