Hello I found so this extremely simple patch should be useful. It helps for pattern SELECT fx(); There was thread about it. Regards Pavel
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных