Re: money type depreciated?

From: Roman Neuhauser <neuhauser(at)sigpipe(dot)cz>
To: Karen Hill <karen_hill22(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: money type depreciated?
Date: 2006-08-01 22:37:35
Message-ID: 20060801223735.GA928@dagan.sigpipe.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

# karen_hill22(at)yahoo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Erik Jones 2006-08-01 22:42:38 Re: proper use of array datatype
Previous Message Christopher Steffen 2006-08-01 21:37:23 Re: Help with plpgsql - subst variable value