From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: PL/Python: Avoid lossiness in float conversion
Date: Wed, 11 Mar 2015 18:28:21 -0300
Message-ID: <20150311212821.GQ3291@alvh.no-ip.org> (raw)
In-Reply-To: <E1YVmcj-0008Is-TT@gemulon.postgresql.org>
References: <E1YVmcj-0008Is-TT@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Peter Eisentraut wrote:
> PL/Python: Avoid lossiness in float conversion
>
> PL/Python uses str() to convert Python values back to PostgreSQL, but
> str() is lossy for float values, so use repr() instead in that case.
>
> Author: Marko Kreen <markokr@gmail.com>
Racoon is unhappy about plpython_types_3.out
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, peter_e@gmx.net
Subject: Re: pgsql: PL/Python: Avoid lossiness in float conversion
In-Reply-To: <20150311212821.GQ3291@alvh.no-ip.org>
References: <E1YVmcj-0008Is-TT@gemulon.postgresql.org> <20150311212821.GQ3291@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox