Re: [patch] PL/Python is too lossy with floats

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Marko Kreen <markokr(at)gmail(dot)com>, Postgres Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [patch] PL/Python is too lossy with floats
Date: 2015-03-11 19:49:50
Message-ID: 55009C5E.9050203@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/3/15 9:32 AM, Marko Kreen wrote:
> PL/Python uses str(v) to convert float data, but is lossy
> by design. Only repr(v) is guaranteed to have enough
> precision to make floats roundtrip properly:

committed

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-03-11 19:52:23 Re: using CustomScan to inject nodes into the plan
Previous Message Peter Eisentraut 2015-03-11 19:48:35 Re: Precedence of standard comparison operators