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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [patch] PL/Python is too lossy with floats
Дата
Msg-id 28006.1433903315@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [patch] PL/Python is too lossy with floats  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Run pgindent now?
Следующее
От: David Rowley
Дата:
Сообщение: Re: Aggregate Supporting Functions