I forgot but had actually implemented this 6 months ago.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных