Thread: pgsql: Add tests for PL/pgSQL returning unnamed portals as refcursor

pgsql: Add tests for PL/pgSQL returning unnamed portals as refcursor

From
Peter Eisentraut
Date:
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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/511585417079b7d52211e09b20de0e0981b6eaa6

Modified Files
--------------
src/test/regress/expected/plpgsql.out | 24 ++++++++++++++++++++++++
src/test/regress/sql/plpgsql.sql      | 22 ++++++++++++++++++++++
2 files changed, 46 insertions(+)