From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Valdas Rutkauskas <vrutkauskas@techniumconsulting.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: numeric type issue
Date: Tue, 16 Feb 2010 08:49:22 +0900
Message-ID: <4B79DD82.3090906@tpf.co.jp> (raw)
In-Reply-To: <8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net>
References: <8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, vrutkauskas@techniumconsulting.com
Subject: Re: numeric type issue
In-Reply-To: <4B79DD82.3090906@tpf.co.jp>
References: <8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net> <4B79DD82.3090906@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox