Python interface and Money?

Поиск
Список
Период
Сортировка
От Joel Mc Graw
Тема Python interface and Money?
Дата
Msg-id 3BD45B33.C217E6FF@databill.com
обсуждение исходный текст
Ответы Re: Python interface and Money?
Список pgsql-interfaces
I have a table that has a column of type money.  A query such as "select
sum(document_amount) from foo" returns the correct result when executed
from psql, yet the same query returns the wrong answer (it appears to be
a rounding issue--something like "1234.9999999999...") when executed
through PygreSQL.  Is there a workaround or a fix?

While browsing the mailing list for an answer to this problem I found
several references to the money type being deprecated.  Is that the
problem?

This is PostgreSQL 7.1.3 on FreeBSD 4.2

TIA
-- 

Joel


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

Предыдущее
От: "Christopher C. Weis"
Дата:
Сообщение: Re: Need help adding perl interface to 7.1.3 on MacOSX 10.1
Следующее
От: Tushar Nerurkar
Дата:
Сообщение: pgadmin for postgresql 7.0