Re: [PATCH] Fix conversion for Decimal arguments in plpython functions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Szymon Guz <mabewlun(at)gmail(dot)com>
Cc: Ronan Dunklau <rdunklau(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
Date: 2013-06-26 19:59:36
Message-ID: 51CB4828.6030705@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2013-06-26 20:04:34 Re: MD5 aggregate
Previous Message Szymon Guz 2013-06-26 19:52:15 Re: Add more regression tests for CREATE OPERATOR