If you see a straightforward way, please submit a patch!
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных