pgsql: Fix plpython so that it again honors typmod while assigning to t - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix plpython so that it again honors typmod while assigning to t
Date
Msg-id E1P5UQo-0002mC-49@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

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

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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix assorted bugs in GIN's WAL replay logic.
Next
From: mhasegawa@pgfoundry.org (User Mhasegawa)
Date:
Subject: pgbulkload - pgbulkload: pg_bulkload 3.0 bata 2.