Skip site navigation (1) Skip section navigation (2)

Re: New version of money type

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Luke Lonergan <llonergan(at)greenplum(dot)com>
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:53:15
Message-ID: 20060928185315.GA16473@svana.org (view raw or flat)
Thread:
Lists: pgsql-hackers
On Thu, Sep 28, 2006 at 11:39:31AM -0700, Luke Lonergan wrote:
> D'Arcy,
> 
> On 9/28/06 10:12 AM, "D'Arcy J.M. Cain" <darcy(at)druid(dot)net> wrote:
> 
> > Numeric has been shown to be as good or better than money in I/O
> > operations.
> 
> What exactly does that mean in the context of a Datum: "I/O operations"?

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...

Have a ncie day,
-- 
Martijn van Oosterhout   <kleptog(at)svana(dot)org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Responses

pgsql-hackers by date

Next:From: David FetterDate: 2006-09-28 18:54:55
Subject: Numeric overflow problem + patch
Previous:From: Gevik BabakhaniDate: 2006-09-28 18:49:59
Subject: Re: Row IS NULL question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group