]> granicus.if.org Git - postgresql/commit
Handle domains over arrays like plain arrays in PL/python.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Nov 2013 12:22:38 +0000 (14:22 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 26 Nov 2013 12:33:31 +0000 (14:33 +0200)
commit37364c63115a52b4dc7ea280aa5b358abd4a9c38
tree27cba99909139a9e2c038c686268c5b602ecaae6
parent7cc0ba9f17fdae610187411439e8c01b26da15ac
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
src/pl/plpython/expected/plpython_types.out
src/pl/plpython/expected/plpython_types_3.out
src/pl/plpython/plpy_typeio.c
src/pl/plpython/sql/plpython_types.sql