This latest patch set looks pretty good to me.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных