Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9EAA963264A for ; Tue, 16 Feb 2010 23:44:05 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 65858-05 for ; Wed, 17 Feb 2010 03:43:54 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id 7C5D46323D3 for ; Tue, 16 Feb 2010 23:43:54 -0400 (AST) Received: (qmail 21006 invoked by uid 512); 17 Feb 2010 03:43:49 -0000 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.252) by sd2.tpf-fw-c.co.jp with SMTP; 17 Feb 2010 03:43:49 -0000 Message-ID: <4B7B65E7.8070703@tpf.co.jp> Date: Wed, 17 Feb 2010 12:43:35 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Valdas Rutkauskas CC: "pgsql-odbc@postgresql.org" Subject: Re: numeric type issue References: <8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net> <4B79DD82.3090906@tpf.co.jp> <8C3F6C3393513F4BAFA2D95D662927231D0CCB75D0@EXVMBX020-2.exch020.serverdata.net> In-Reply-To: <8C3F6C3393513F4BAFA2D95D662927231D0CCB75D0@EXVMBX020-2.exch020.serverdata.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 201002/18 X-Sequence-Number: 10205 Valdas Rutkauskas wrote: > Thanks! > > Do you know if this bug is only for *nix version ? We using this driver in windows and do not see isue there. This bug doesn't exist in Windows version. regards, Hiroshi Inoue > -----Original Message----- > From: Hiroshi Inoue [mailto:inoue@tpf.co.jp] > Sent: Monday, February 15, 2010 6:49 PM > To: Valdas Rutkauskas > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] numeric type issue > > Valdas Rutkauskas wrote: >> Hi, >> >> >> >> I'm trying to migrate postgres 7.4 to postgres 8.4.2-1. Everything >> seems to work fine, but fields in database with NUMERIC type returning >> wrong values, but in the tables they are correct. >> >> >> >> For example: I have column defined like this: >> >> charge numeric(7,2) DEFAULT 0 NOT NULL,NOT NULL with value 6.67. >> >> >> >> If I use psqlODBC version 08.04.0100 return value would be 6.00, but if >> I use driver postgresql-odbc-08.03.0400-1PGDG.rhel5 return value is 6.67 >> which is how it suppose to be. >> >> >> >> Does anybody know any issues with version 08.04.0100 regarding numeric >> type ? > > This bug was fixed in 8.4.0200. > > regards, > Hiroshi Inoue