Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Claudio Freire <klaussfreire(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL-Dev <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal
Date: 2013-07-06 12:16:23
Message-ID: 51D80A97.8080906@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers


On 07/06/2013 01:52 AM, Claudio Freire wrote:
> On Sat, Jul 6, 2013 at 2:39 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-07-06 15:17:04 pgsql: Rename a function to avoid naming conflict in parallel regressio
Previous Message Michael Meskes 2013-07-06 09:51:32 pgsql: Applied patch by MauMau <maumau307@gmail.com> to escape filename

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2013-07-06 13:07:54 Re: MVCC catalog access
Previous Message Dean Rasheed 2013-07-06 10:49:21 Re: FILTER for aggregates [was Re: Department of Redundancy Department: makeNode(FuncCall) division]