numeric type issue

Поиск
Список
Период
Сортировка
От Valdas Rutkauskas
Тема numeric type issue
Дата
Msg-id 8C3F6C3393513F4BAFA2D95D662927231D0CCB6FC1@EXVMBX020-2.exch020.serverdata.net
обсуждение исходный текст
Ответы Re: numeric type issue  (Hiroshi Inoue <inoue@tpf.co.jp>)
Список pgsql-odbc

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 ? .  Would it be safe to use postgresql-odbc-08.03.0400-1PGDG.rhel5 driver with 8.4.2-1 postgres?

 

 

Thanks

-Valdas

 

 

 

 

 

В списке pgsql-odbc по дате отправления:

Предыдущее
От: Arnaud Lesauvage
Дата:
Сообщение: How to speedup inserts via ADO ?
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: How to speedup inserts via ADO ?