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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: PL/Python: Fix hint about returning composite type from Python
Date: 2017-06-30 20:58:11
Message-ID: E1dR2zT-0008J0-Hm@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)varrazzo(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2017-06-30 22:08:49 pgsql: Fix locking in WAL receiver/sender shmem state structs
Previous Message Peter Eisentraut 2017-06-30 19:54:49 pgsql: Fix typo in comment