Re: Format of the Money field

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Format of the Money field
Date: 2001-02-03 10:54:02
Message-ID: 5.0.2.1.0.20010203105104.009ee1a0@mail.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 12:55 02/02/01 -0400, The Hermit Hacker wrote:
>On Fri, 2 Feb 2001, Peter T Mount wrote:
>
> > When did the MONEY type change it's output format?
> >
> > While working on the JDBC test suite, Money broke. It seems to output:
> > $10.99
> > ($10.99) for negative values
> >
> > While since ages past, the PGMoney class interprets it as a number (no
> > currency symbol).
>
>Looking over at Thomas and asking him, his recollection is that it always
>had the currency symbol ... but he's not 100% certain about that ...
>
>Can you confirm with the 7.0.3 server?

As I just said to Mitch (who tested against 6.4 and it had the currency
symbol) no one must use Money via JDBC as no one's found it before. The
PGMoney class dates from the 6.2/6.3 days so it might date back that far.
I'll fix it anyhow.

Peter

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kovacs Zoltan 2001-02-03 12:58:26 7.1beta4 works well
Previous Message Peter Mount 2001-02-03 10:50:39 Re: Format of the Money field