Attached is an updated patch, fixing a compile error which my compiler didn't seem to detect/suffer from and incorporating fixes to problems raised by Neil. Thanks, Gavin
pgsql-patches by date:
Соглашаюсь с условиями обработки персональных данных