Re: money type depreciated? - Mailing list pgsql-general

From Roman Neuhauser
Subject Re: money type depreciated?
Date
Msg-id 20060801223735.GA928@dagan.sigpipe.cz
Whole thread Raw
In response to money type depreciated?  ("Karen Hill" <karen_hill22@yahoo.com>)
Responses Re: money type depreciated?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
# karen_hill22@yahoo.com / 2006-08-01 10:18:45 -0700:
> I read in the documentation that the money type is depreciated.  It
> says to use the  to_char function and NUMERIC/decimal instead.  Why was
> the money type depreciated when it was so useful?  How would be the
> best way to use to_char and numeric to replace that type since I don't
> want to be using a depreciated data type.

    Use a custom type; IIRC Martijn van Oosterhout has something.

--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Autovacuum help..
Next
From: Martijn van Oosterhout
Date:
Subject: Re: money type depreciated?