Re: [BUGS] JDBC driver doesn't handle NaN values

2004-01-09 Thread Kris Jurka
On Fri, 9 Jan 2004, Jonathan Purvis wrote: > The JDBC driver that ships with PostgreSQL 7.4.1 doesn't insert floats > of value NaN. As it uses Float.toString(x) to convert the value for > insertion into the database, it tries to insert NaN instead of 'NaN' and > gets the error "Attribute 'nan'

[BUGS] JDBC driver doesn't handle NaN values

2004-01-08 Thread Jonathan Purvis
The JDBC driver that ships with PostgreSQL 7.4.1 doesn't insert floats of value NaN. As it uses Float.toString(x) to convert the value for insertion into the database, it tries to insert NaN instead of 'NaN' and gets the error "Attribute 'nan' not found". The same bug occurs for doubles and w