Yes, in Python >= 2.4 there is the Decimal datatype.

However, unlike the other mappings employed by plpythonu, Decimal requires an 
import statement to be in scope.

-Caleb

On 5/27/09 2:07 PM, "Tom Lane" <t...@sss.pgh.pa.us> wrote:

Peter Eisentraut <pete...@gmx.net> writes:
> On Wednesday 27 May 2009 21:53:31 Caleb Welton wrote:
>> ... 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.

That was making me itch as well, in my very cursory look at the patch.
Does Python have a saner mapping for it?

                        regards, tom lane

Reply via email to