pgsql: Add a regression test case for plpython function returning setof

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a regression test case for plpython function returning setof
Date: 2013-12-11 22:23:03
Message-ID: E1VqsBL-000313-Um@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add a regression test case for plpython function returning setof RECORD.

We had coverage for functions returning setof a named composite type,
but not for anonymous records, which is a somewhat different code path.
In view of recent crash report from Sergey Konoplev, this seems worth
testing, though I doubt there's any deterministic bug here today.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6bff0e7d92133d50c064d9f652f538891873aa32

Modified Files
--------------
src/pl/plpython/expected/plpython_setof.out | 36 +++++++++++++++++++++++++--
src/pl/plpython/sql/plpython_setof.sql | 15 ++++++++---
2 files changed, 46 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2013-12-11 23:12:33 Re: pgsql: Fix a couple of bugs in MultiXactId freezing
Previous Message Simon Riggs 2013-12-11 20:45:49 pgsql: Regression tests for ALTER TABLESPACE RENAME,OWNER