IEEE 754-2008 decimal numbers

From: Thomas Munro <munro(at)ip9(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: IEEE 754-2008 decimal numbers
Date: 2010-10-10 20:46:56
Message-ID: AANLkTikVs4ZT+JtwXQqUd_igGPXUBYMbfmzpL_B8Hgu0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ben Carbery 2010-10-10 22:38:34 Re: rotate psql output
Previous Message Scott Marlowe 2010-10-10 19:01:08 Re: Postgres won't start after setting ssl=on