> It is strange bug. When you use syntax =>, ":=" is obsolete (but still
> supported), then all is working
>
> postgres=# 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>
> DO
>
> looks so somewhere only new syntax is recognized and supported.
>
no, the behave is random. Looks on uninitialized variable
first call in session fails, seconds are ok
> Regards
>
> Pavel
>
>