Table function support for PL/Python
This allows functions with multiple OUT parameters returning both one
or multiple records (RECORD or SETOF RECORD).
Jan Urbański, reviewed by Hitoshi Harada
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/bc411f25c14f65b459de5dbc96ac79e7741ef9ee
Modified Files
--------------
doc/src/sgml/plpython.sgml | 36 ++-
src/pl/plpython/Makefile | 1 +
src/pl/plpython/expected/plpython_composite.out | 361 +++++++++++++++++++++++
src/pl/plpython/expected/plpython_record.out | 14 +-
src/pl/plpython/expected/plpython_trigger.out | 18 ++
src/pl/plpython/plpython.c | 177 ++++++++++--
src/pl/plpython/sql/plpython_composite.sql | 168 +++++++++++
src/pl/plpython/sql/plpython_record.sql | 4 +-
src/pl/plpython/sql/plpython_trigger.sql | 20 ++
9 files changed, 748 insertions(+), 51 deletions(-)