Version which applies/builds against current HEAD attached. I haven't yet had a chance to look at the code beyond fixing it, however.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных