Re: [patch] PL/Python is too lossy with floats - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [patch] PL/Python is too lossy with floats
Date
Msg-id 28006.1433903315@sss.pgh.pa.us
Whole thread Raw
In response to Re: [patch] PL/Python is too lossy with floats  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On 6/1/15 5:34 AM, Marko Kreen wrote:
>> Please reconsider backporting.

> It's been like this forever, so I don't think it's appropriate to
> backpatch this.

http://www.postgresql.org/docs/devel/static/plpython-data.html
states in so many words that floats are converted with str().
Presumably this needs an update in HEAD, but I would say that
the current behavior is per specification in all back branches.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Run pgindent now?
Next
From: David Rowley
Date:
Subject: Re: Aggregate Supporting Functions