Thread: pgsql: Handle domains over arrays like plain arrays in PL/python.

pgsql: Handle domains over arrays like plain arrays in PL/python.

From
Heikki Linnakangas
Date:
Handle domains over arrays like plain arrays in PL/python.

Domains over arrays are now converted to/from python lists when passed as
arguments or return values. Like regular arrays.

This has some potential to break applications that rely on the old behavior
that they are passed as strings, but in practice there probably aren't many
such applications out there.

Rodolfo Campero

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/37364c63115a52b4dc7ea280aa5b358abd4a9c38

Modified Files
--------------
src/pl/plpython/expected/plpython_types.out   |   28 +++++++++++++++++++++++++
src/pl/plpython/expected/plpython_types_3.out |   28 +++++++++++++++++++++++++
src/pl/plpython/plpy_typeio.c                 |   17 +++++++++++----
src/pl/plpython/sql/plpython_types.sql        |   20 ++++++++++++++++++
4 files changed, 89 insertions(+), 4 deletions(-)