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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add tests for PL/pgSQL returning unnamed portals as refcursor
Date: 2018-01-10 21:40:42
Message-ID: E1eZO70-0001GL-FC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2018-01-10 22:10:54 pgsql: Use portal pinning in PL/Perl and PL/Python
Previous Message Peter Eisentraut 2018-01-10 21:05:47 pgsql: Revert "Move portal pinning from PL/pgSQL to SPI"