Re: New version of money type

From: "Luke Lonergan" <llonergan(at)greenplum(dot)com>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>
Cc: "D'Arcy J(dot)M(dot) Cain" <darcy(at)druid(dot)net>, "Stephen Frost" <sfrost(at)snowman(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: New version of money type
Date: 2006-09-28 18:57:10
Message-ID: C1416916.2E6A%llonergan@greenplum.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn,

On 9/28/06 11:53 AM, "Martijn van Oosterhout" <kleptog(at)svana(dot)org> wrote:

> Converting to/from text format for when dealing with client
> applications. Numeric can convert faster than plain integers sometimes.
> Numeric isn't that slow really...

Got it - so the performance benefits of the fixed point versus Numeric are:

- Smaller size of fixed point (less than half)
- Faster arithmetic operations

These should be quantified, so that we can evaluate Money64 as a proposal
and to understand Numeric better.

- Luke

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kris Jurka 2006-09-28 19:01:56 Re: JAVA Support
Previous Message David Fetter 2006-09-28 18:54:55 Numeric overflow problem + patch