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

From Claudio Freire
Subject Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal
Date
Msg-id CAGTBQpY-dzZzvViE+ruTCGFeQQvCVjUVH0s_LhiQHk+3P63RGg@mail.gmail.com
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal
List pgsql-hackers
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).



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: pg_filedump 9.3: checksums (and a few other fixes)
Next
From: Hitoshi Harada
Date:
Subject: Re: Have REFRESH MATERIALIZED VIEW run as the MV owner