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

From: Claudio Freire <klaussfreire(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 05:52:15
Message-ID: CAGTBQpY-dzZzvViE+ruTCGFeQQvCVjUVH0s_LhiQHk+3P63RGg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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).

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2013-07-06 09:51:32 pgsql: Applied patch by MauMau <maumau307@gmail.com> to escape filename
Previous Message Tom Lane 2013-07-06 05:39:32 Re: [COMMITTERS] pgsql: PL/Python: Convert numeric to Decimal

Browse pgsql-hackers by date

  From Date Subject
Next Message Hitoshi Harada 2013-07-06 06:18:50 Re: Have REFRESH MATERIALIZED VIEW run as the MV owner
Previous Message Jeff Davis 2013-07-06 05:43:33 Re: pg_filedump 9.3: checksums (and a few other fixes)