Обсуждение: [COMMITTERS] pgsql: PL/Python: Fix hint about returning composite type from Python

Поиск
Список
Период
Сортировка

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

От
Peter Eisentraut
Дата:
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(-)