pgsql: PL/Python: Fix hint about returning composite type from Python

Started by Peter Eisentrautabout 9 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

PL/Python: Fix hint about returning composite type from Python

('foo') is not a Python tuple: it is a string wrapped in parentheses. A
valid 1-element Python tuple is ('foo',).

Author: Daniele Varrazzo <daniele.varrazzo@gmail.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/898d24ae2ad7195869c558eb6c126ff6a90474e8

Modified Files
--------------
src/pl/plpython/expected/plpython_composite.out | 2 +-
src/pl/plpython/plpy_typeio.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers