pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Wed, 17 Feb 2010 12:43:35 +0900
Message-ID: <4B7B65E7.8070703@tpf.co.jp> (raw)
In-Reply-To: <8C3F6C3393513F4BAFA2D95D662927231D0CCB75D0@EXVMBX020-2.exch020.serverdata.net>
References: <8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net>
	<4B79DD82.3090906@tpf.co.jp>
	<8C3F6C3393513F4BAFA2D95D662927231D0CCB75D0@EXVMBX020-2.exch020.serverdata.net>

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




view thread (4+ messages)

Message-ID: <4B7B65E7.8070703@tpf.co.jp>
Permalink:  ../4B7B65E7.8070703@tpf.co.jp/
Also on:    postgresql.org/message-id/4B7B65E7.8070703@tpf.co.jp

 · 

reply

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: <4B7B65E7.8070703@tpf.co.jp>
  References: <8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net> <4B79DD82.3090906@tpf.co.jp> <8C3F6C3393513F4BAFA2D95D662927231D0CCB75D0@EXVMBX020-2.exch020.serverdata.net> <4B7B65E7.8070703@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