Re: [HACKERS] Datatype MONEY - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Datatype MONEY
Date
Msg-id Pine.GSO.4.02A.9912131223290.8544-100000@Panter.DoCS.UU.SE
Whole thread Raw
In response to Datatype MONEY  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Use DECIMAL/NUMERIC. Money is deprecated, slightly broken, and will
eventually disappear. There are some thoughts of re-implementing it on top
of numeric as a collection of formatting functions in essence, so with
numeric (or decimal) you'll be fit for the future.

On Mon, 13 Dec 1999, Michael Meskes wrote:

> I somehow remember the MONEY datatype has some problems and might be
> removed. Now I didn´t follow this topic closely enough, but now I've
> encountered I could use it pretty well. Of course a DECIMAL datatype fits
> the bill as good since I do not need the currency symbol in psql's output.
> 
> Before I set up my DB I'd like to know which type to prefer.
> 
> Michael
> 

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] update_pg_pwd
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] update_pg_pwd