Re: Looking for a function

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Looking for a function
Date: 2002-02-17 15:44:17
Message-ID: Pine.LNX.4.44.0202170739310.17333-100000@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, 17 Feb 2002, Bruce Momjian wrote:

> Yes, there is, but it is part of a data type, MONEY, that we will be
> converting to numeric some day:
>
> test=> select cash_words(100::money);
> cash_words
> ------------------------------------
> One hundred dollars and zero cents
> (1 row)

Bruce,

And I thought that the money data type was deprecated because it was
replaced my numeric.

I suppose the answer to my question is to locate a copy of the money
source code and rummage around it in for more useful goodies. Hmmm-m-m. All
I find when grepping the source tarball I have for 7.2 is PGmoney.java in
the interfaces directory.

Would the money data type code be available?

Many thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message paul simdars 2002-02-17 16:32:35 Re: VERY basic
Previous Message PG Explorer 2002-02-17 14:05:47 Re: Looking for a function