It is strange bug. When you use syntax =>, ":=" is obsolete (but still supported), then all is workingpostgres=# do $$declare v_ResultSet refcursor; v_cnt integer;begin call p1(v_cnt=>v_cnt, v_ResultSet => v_ResultSet); raise notice '%', v_ResultSet;end;$$;NOTICE: <unnamed portal 4>DOlooks so somewhere only new syntax is recognized and supported.
RegardsPavel
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных