I think Heikki's solution is probably more practical since (1) ..
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных