git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bc93ac1) | patch
PL/Python: Avoid lossiness in float conversion
2015年3月11日 19:44:17 +0000 (15:44 -0400)
2015年3月11日 19:46:06 +0000 (15:46 -0400)
commit 1ce7a57ca6e8c5212fa2ab3bf31d56c74d5b5b8f
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>
src/pl/plpython/expected/plpython_types.out diff | blob | blame | history
src/pl/plpython/plpy_typeio.c diff | blob | blame | history
src/pl/plpython/sql/plpython_types.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /