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

From Szymon Guz
Subject Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
Date
Msg-id CAFjNrYvNuf0Bhqx8N0K_n+mFFR+FcPT-ZJwa+QXbRt5PmxKTPw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Fix conversion for Decimal arguments in plpython functions  (Steve Singer <steve@ssinger.info>)
Responses Re: [PATCH] Fix conversion for Decimal arguments in plpython functions
List pgsql-hackers
On 28 June 2013 22:14, Steve Singer <steve@ssinger.info> wrote:

I think the value is more important than the name, I want to the tests to make sure that the conversion is actually converting properly.  With your method of getting the class name without the module we can have both.

The attached patch should print the value and the class name but not the module name.

Steve

Hi Steve,
I agree, we can check both. This is quite a nice patch now, I've reviewed it, all tests pass, works as expected. I think it is ready for committing.

thanks,
Szymon 

pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: FILTER for aggregates [was Re: Department of Redundancy Department: makeNode(FuncCall) division]
Next
From: Claudio Freire
Date:
Subject: Re: [PATCH] Fix conversion for Decimal arguments in plpython functions