diff options
author | Federico Di Gregorio <fog@initd.org> | 2009-01-23 00:09:20 +0100 |
---|---|---|
committer | Federico Di Gregorio <fog@initd.org> | 2009-01-23 00:09:20 +0100 |
commit | eb25f9f15473bef990276397c5b86235039caecd (patch) | |
tree | ac1824814a60fecea584362299ffad87bc267d6d /ChangeLog | |
parent | e22451736a3b35bcb7da199e14a1b62e93e97663 (diff) | |
download | psycopg2-eb25f9f15473bef990276397c5b86235039caecd.tar.gz |
Added adapter to handle float('inf') and float('nan')
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,4 +1,12 @@ -2009-01-20 Federico Di Gregorio <fog@initd.org +2009-01-23 Federico Di Gregorio <fog@initd.org> + + * Fixed problem mailed by Markus Demleitner about Python to + PostgreSQL conversions of "nan" and "inf" floats resulting in + backend errors. Added the new psycopg2.extensions.Float adapter + that correctly handle both values and unit tests. (The opposite + conversion was already working.) + +2009-01-20 Federico Di Gregorio <fog@initd.org> * Fixed problem reported by Lawrence Oluyede where register_type() didn't work on connection and cursors |