Re: Looking for a function - Mailing list pgsql-general

From Rich Shepard
Subject Re: Looking for a function
Date
Msg-id Pine.LNX.4.44.0202170739310.17333-100000@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Looking for a function  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Looking for a function
Re: Looking for a function
List 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


pgsql-general by date:

Previous
From: "PG Explorer"
Date:
Subject: Re: Looking for a function
Next
From: Tom Lane
Date:
Subject: Re: Looking for a function