Precision of data types and functions

Поиск
Список
Период
Сортировка
От Brandon Aiken
Тема Precision of data types and functions
Дата
Msg-id F8E84F0F56445B4CB39E019EF67DACBA21F633@exchsrvr.winemantech.com
обсуждение исходный текст
Ответы Re: Precision of data types and functions  (Douglas McNaught <doug@mcnaught.org>)
Re: Precision of data types and functions  (Scott Marlowe <smarlowe@g2switchworks.com>)
Список pgsql-general
I'm considering migrating our MySQL 4.1 database (barf!) to PostgreSQL 8
or MySQL 5.

The guy who originally designed the system made all the number data
FLOATs, even for currency items.  Unsurprisingly, we've noticed math
errors resulting from some of the aggregate functions.  I've learned
MySQL 5 stores numbers with the DECIMAL data type as text strings, and
does math at 64-bit precision.  Where can I find information about how
precise PostgreSQL 8 math is?

--
Brandon Aiken
CS/IT Systems Engineer

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

Предыдущее
От: Bjørn T Johansen
Дата:
Сообщение: Can't see what's wrong with this function?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Can't see what's wrong with this function?