IEEE 754-2008 decimal numbers

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема IEEE 754-2008 decimal numbers
Дата
Msg-id AANLkTikVs4ZT+JtwXQqUd_igGPXUBYMbfmzpL_B8Hgu0@mail.gmail.com
обсуждение исходный текст
Ответы Re: IEEE 754-2008 decimal numbers  (Craig Ringer <craig@postnewspapers.com.au>)
Список pgsql-general
Hi

Has anyone done any work on IEEE 754-2008 decimal types for PostgreSQL?

I couldn't find anything, so I was thinking it might be a fun exercise
for learning about extending PostgreSQL with user defined types.  My
first goal is to be able to store decimal numbers with a smaller disk
footprint than NUMERIC.  I was thinking I would start out by defining
types DECIMAL32 and DECIMAL64 and some casts between those types and
NUMERIC.  (A more ambitious project for later would be defining
arithmetic operators etc using compiler/hardware support).

Thanks
Thomas

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

Предыдущее
От: Ben Carbery
Дата:
Сообщение: Re: rotate psql output
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: IEEE 754-2008 decimal numbers