]> granicus.if.org Git - postgresql/commit
Add a regression test case for plpython function returning setof RECORD.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 11 Dec 2013 22:22:47 +0000 (17:22 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 11 Dec 2013 22:22:55 +0000 (17:22 -0500)
commit6bff0e7d92133d50c064d9f652f538891873aa32
treeb408c70ded811f4f591a54f8e28200b4e0cf073a
parentcf589c9c1f5f7f89018684b763d74d7b02a2504b
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.
src/pl/plpython/expected/plpython_setof.out
src/pl/plpython/sql/plpython_setof.sql