Here is the work in progress patch described in this thread.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных