Nice, should I still try to reproduce the bug with assertions and the patch you provided?
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных