Add a regression test case for plpython function returning setof RECORD.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/pl/plpython/expected/plpython_setof.out | modified | +34 −2 |
| src/pl/plpython/sql/plpython_setof.sql | modified | +12 −3 |