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

Started by Peter Eisentrautover 8 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(+)