On Wed, Mar 11, 2015 at 9:49 PM, Peter Eisentraut <pete...@gmx.net> wrote: > 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 9.3 and before, numeric is converted to float in PL/Python. Please reconsider backporting. -- marko -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers