Обсуждение: pgsql: Fix plpython so that it again honors typmod while assigning to t

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

pgsql: Fix plpython so that it again honors typmod while assigning to t

От
Tom Lane
Дата:
Fix plpython so that it again honors typmod while assigning to tuple fields.

This was broken in 9.0 while improving plpython's conversion behavior for
bytea and boolean.  Per bug report from maizi.

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=67120d35e28b85bbb4d10f4568f6e3b85c8e0460

Modified Files
--------------
src/pl/plpython/expected/plpython_trigger.out |   26 ++++++++++
src/pl/plpython/plpython.c                    |   62 +++++++++++--------------
src/pl/plpython/sql/plpython_trigger.sql      |   23 +++++++++
3 files changed, 76 insertions(+), 35 deletions(-)