Re: [HACKERS] Datatype MONEY

From: Peter Eisentraut <e99re41(at)DoCS(dot)UU(dot)SE>
To: Michael Meskes <meskes(at)postgreSQL(dot)org>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Datatype MONEY
Date: 1999-12-13 11:25:28
Message-ID: Pine.GSO.4.02A.9912131223290.8544-100000@Panter.DoCS.UU.SE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-12-13 11:38:17 Re: [HACKERS] update_pg_pwd
Previous Message Peter Eisentraut 1999-12-13 11:15:06 Re: [HACKERS] update_pg_pwd