The attached patch is how I think we should do it.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных