Re: MSAccess to postgres on Windows Currency type problem

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: MSAccess to postgres on Windows Currency type problem
Дата
Msg-id CABvLTWGC2Db-Y3dne579gZh0Dx8usxpPxjfkpJP+r9_30Hsqew@mail.gmail.com
обсуждение исходный текст
Ответ на MSAccess to postgres on Windows Currency type problem  (albert <skarbat@gmail.com>)
Ответы Re: MSAccess to postgres on Windows Currency type problem  (albert <skarbat@gmail.com>)
Список pgsql-odbc
On Sun, Sep 11, 2011 at 3:08 PM, albert <skarbat@gmail.com> wrote:
> I am exporting a MSAccess database to Postgres under windows using ODBC.
> "the input syntax is invalid for type double precision <40868,8227>" .
> I have tried to export that same table using mdbtools' mdb-schema program
> and it works correctly, translating it to postgres "money" data type.

the postgresql data type you want is NUMERIC.
http://www.postgresql.org/docs/9.1/static/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL


--
Regards,
Richard Broersma Jr.

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

Предыдущее
От: albert
Дата:
Сообщение: MSAccess to postgres on Windows Currency type problem
Следующее
От: albert
Дата:
Сообщение: Re: MSAccess to postgres on Windows Currency type problem