I see the PlaceHolderVar issue turned out to be a pre-existing bug after all. Rebased version attached. Regards, Dean
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных