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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix plpython so that it again honors typmod while assigning to t
Date: 2010-10-12 02:17:34
Message-ID: E1P5UQo-0002mD-8a@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mhasegawa 2010-10-12 10:32:56 pgbulkload - pgbulkload: pg_bulkload 3.0 bata 2.
Previous Message Tom Lane 2010-10-11 23:05:52 pgsql: Fix assorted bugs in GIN's WAL replay logic.