Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal
Date
Msg-id 51D80A97.8080906@dunslane.net
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal  (Claudio Freire <klaussfreire@gmail.com>)
Responses Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal
List pgsql-hackers
On 07/06/2013 01:52 AM, Claudio Freire wrote:
> On Sat, Jul 6, 2013 at 2:39 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Peter Eisentraut <peter_e@gmx.net> writes:
>>> PL/Python: Convert numeric to Decimal
>> Assorted buildfarm members don't like this patch.
>
> Do you have failure details?
>
> This is probably an attempt to operate decimals vs floats.
>
> Ie: Decimal('3.0') > 0 works, but Decimal('3.0') > 1.3 doesn't
> (decimal is explicitly forbidden from operating on floats, some design
> decision that can only be disabled in 3.3).
>
>


Instead of speculating, you can actually see for yourself. The dashboard 
is at <http://www.pgbuildfarm.org/cgi-bin/show_status.pl> Pick one of 
the machines failing at PLCheck-C and click its 'Details' link. Then 
scroll down a bit and you'll see what is failing.

cheers

andrew




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: Robert Haas
Date:
Subject: Re: MVCC catalog access