Re: [PATCH] plpythonu datatype conversion improvements - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] plpythonu datatype conversion improvements
Date
Msg-id 200905280000.21713.peter_e@gmx.net
Whole thread Raw
In response to Re: [PATCH] plpythonu datatype conversion improvements  (Caleb Welton <cwelton@greenplum.com>)
Responses Re: [PATCH] plpythonu datatype conversion improvements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wednesday 27 May 2009 21:53:31 Caleb Welton wrote:
> Previously numeric->string->PyFloat_FromString, now
> numeric->double->PyFloat_FromDouble, which makes use of postgres
> numeric->double routines rather than python string->double routines, and it
> is conceivable that there are precision variations between the two.  My own
> feeling on the matter is that PyFloat is the wrong mapping for numeric, but
> I didn't want to muddy this patch by changing that.

Yeah, that one had me wondering for a while as well, but as you say it is 
better to address that separately.



pgsql-hackers by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: search_path vs extensions
Next
From: Andrew Dunstan
Date:
Subject: Re: search_path vs extensions