If this is indeed a bug, a simple patch is attached to fix this issue.
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных