Re: Extracting data from deprecated MONEY fields - Mailing list pgsql-general

From Dennis Bjorklund
Subject Re: Extracting data from deprecated MONEY fields
Date
Msg-id 484AE6D3.90103@zigo.dhs.org
Whole thread Raw
In response to Re: Extracting data from deprecated MONEY fields  ("Ken Winter" <ken@sunward.org>)
List pgsql-general
Here is a cast function I wrote some years ago to convert a couple of
money columns to numeric

   http://zigo.org/postgresql/#cast_money_to_numeric

You already have a solution, but maybe it is of value to someone else.

/Dennis

Ken Winter skrev:
> Right you are, Tom!
>
> In case anyone else is facing the same migration, pasted in below is a
> pl/pgsql function that does the conversion.
>
> ~ Thanks to all
> ~ Ken
>

pgsql-general by date:

Previous
From: "Ken Winter"
Date:
Subject: Re: Extracting data from deprecated MONEY fields
Next
From: Viktor Rosenfeld
Date:
Subject: Re: temporarily deactivate an index