Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBNq8-0002cE-FG for pgsql-jdbc@postgresql.org; Tue, 11 Sep 2012 10:37:08 +0000 Received: from smtp07.smtpout.orange.fr ([80.12.242.129] helo=smtp.smtpout.orange.fr) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TBNq6-0004wx-2i for pgsql-jdbc@postgresql.org; Tue, 11 Sep 2012 10:37:07 +0000 Received: from [192.168.1.120] ([90.37.9.224]) by mwinf5d14 with ME id xmd31j0054q1N9W03md3qG; Tue, 11 Sep 2012 12:37:04 +0200 Message-ID: <504F144C.20108@docsea.com> Date: Tue, 11 Sep 2012 12:37:00 +0200 From: DocSea - Patrice Delorme Organization: DocSea User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Bug : FAST_NUMBER_FAILED when getting NaN on BigDecimal Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/7 X-Sequence-Number: 23243 Hi, It is impossible to fetch data when numeric value in database is NaN It throws FAST_NUMBER_FAILED (postgresql-jdbc-9.1-902:AbstractJdbc2ResultSet:2176) because my value is not numeric (NaN). This is incorect behaviour since 'NaN' is a legal value in postgres for numeric type. problem is in postgresql-jdbc-9.1-902.jdbc4 but it seems arround for ages... since I discovered it first in postgresql-8.3-603.jdbc3... best regards, P.