Re: [PATCH] Fix conversion for Decimal arguments in plpython functions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
Date
Msg-id 51CB4828.6030705@gmx.net
Whole thread Raw
In response to Re: [PATCH] Fix conversion for Decimal arguments in plpython functions  (Szymon Guz <mabewlun@gmail.com>)
Responses Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
List pgsql-hackers
On 6/26/13 7:03 AM, Szymon Guz wrote:
> I've checked the patch, everything looks great.
> I've attached it to this email with changed name, just for consistent
> naming in commitfest app.

Could the setup of the decimal.Decimal constructor be moved into
PLyDecimal_FromNumeric() and kept in a static pointer?  I'd rather not
clutter up the main initialization routine.




pgsql-hackers by date:

Previous
From: Szymon Guz
Date:
Subject: Re: Add more regression tests for CREATE OPERATOR
Next
From: Dean Rasheed
Date:
Subject: Re: MD5 aggregate