Re: [PATCH] plpythonu datatype conversion improvements

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Caleb Welton <cwelton(at)greenplum(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] plpythonu datatype conversion improvements
Date: 2009-09-09 19:00:32
Message-ID: 1252522832.17405.0.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On mån, 2009-08-31 at 23:41 +0300, Peter Eisentraut wrote:
> On sön, 2009-08-16 at 02:44 +0300, Peter Eisentraut wrote:
> > The remaining problem is that the patch loses domain checking on the
> > return types, because some paths no longer go through the data type's
> > input function. I have marked these places as FIXME, and the regression
> > tests also contain a failing test case for this.
> >
> > What's needed here, I think, is an API that takes a datum plus type
> > information and checks whether the datum is valid within the domain. I
> > haven't found one that is exported, but maybe someone could give a tip.
>
> Got that fixed now. Updated patch is attached. I will sleep over it,
> but I think it's good to go.

committed

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-09-09 19:00:39 Re: CTE bug?
Previous Message Stephen Frost 2009-09-09 18:58:27 Re: More robust pg_hba.conf parsing/error logging