Add tests for PL/pgSQL returning unnamed portals as refcursor

Peter Eisentraut <peter_e@gmx.net>

Commit: 511585417079b7d52211e09b20de0e0981b6eaa6
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2018-01-10T21:39:13Z
Releases: 11.0
Add tests for PL/pgSQL returning unnamed portals as refcursor

Existing tests only covered returning explicitly named portals as
refcursor.  The unnamed cursor case was recently broken without a test
failing.

Files

PathChange+/−
src/test/regress/expected/plpgsql.out modified +24 −0
src/test/regress/sql/plpgsql.sql modified +22 −0