Re: Alternative to "Money" ...

From: Harald Fuchs <hf118(at)protecting(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Alternative to "Money" ...
Date: 2004-02-02 16:50:47
Message-ID: puk735bf2w.fsf@srv.protecting.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In article <20040130203122(dot)GA1488(at)wolff(dot)to>,
Bruno Wolff III <bruno(at)wolff(dot)to> writes:

> On Fri, Jan 30, 2004 at 10:55:13 -0800,
> Chris Gamache <cgg007(at)yahoo(dot)com> wrote:
>> Well, after living with the (depreciated) Money datatype for 5 years, I think
>> its finally time to say goodbye (and now that we have DROP COLUMN it'll be MUCH
>> easier transition). What's the preferred monetary datatype? numeric(10,2)?
>> float4? float8? We're dealing only with US Dollars.

> You probably just want plain numeric.

As long as you don't want to deal with the new US budget deficit,
storing cents in an INT or BIGINT column might perform better.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Goulet, Dick 2004-02-02 16:55:32 Re: $PGDATA/global hosed but database still there ... what to do?
Previous Message Remi 2004-02-02 14:03:09 Postgresql 7.3 And Redhat Enterprise 3