Hopefully nobody minds if I slip this to the commit fest that started today? The attached patch should address all the comments from the 9.5 cycle.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных