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

From: Szymon Guz <mabewlun(at)gmail(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
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 20:08:13
Message-ID: CAFjNrYu_PA_MJgk+sQD=-Fxc5MkouDQFBBAqEJxG7ou1dAJfRQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 26 June 2013 21:59, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:

> 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.
>
>
OK, I will.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Janes 2013-06-26 20:11:07 Re: A better way than tweaking NTUP_PER_BUCKET
Previous Message Dean Rasheed 2013-06-26 20:04:34 Re: MD5 aggregate