Re: adding import in pl/python function - Mailing list pgsql-hackers

From Claudio Freire
Subject Re: adding import in pl/python function
Date
Msg-id CAGTBQpb3vcp47kj5FjOnXNSs6Fn+ajCjLHUgiipu1y1pZqO4Cw@mail.gmail.com
Whole thread Raw
In response to Re: adding import in pl/python function  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: adding import in pl/python function
List pgsql-hackers
On Mon, May 27, 2013 at 8:13 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On Fri, 2013-05-24 at 16:46 -0300, Claudio Freire wrote:
>> Well, it's easy.
>>
>> Instead of PLyFloat_FromNumeric[0], you can make a
>> PLyDecimal_FromNumeric.
>
> Please send a patch.  This would be a welcome addition.


I can write it blind as I have more than enough experience with
CPython, but I don't use PLPython so I can't perform extensive
testing.
If someone's willing to do the testing, by all means.



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Planning incompatibilities for Postgres 10.0
Next
From: Craig Ringer
Date:
Subject: Re: Planning incompatibilities for Postgres 10.0