pgsql: Table function support for PL/Python

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Table function support for PL/Python
Date: 2011-02-26 14:56:47
Message-ID: E1PtLZf-0004bE-0J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-02-26 17:27:01 pgsql: Fix doc patch --- pg_options_to_table() returns "setof record".
Previous Message User Achernow 2011-02-26 13:32:27 libpqtypes - libpqtypes: bumped version for release 1.4.3