Re: [HACKERS] money or dollar type - Mailing list pgsql-hackers

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: [HACKERS] money or dollar type
Date
Msg-id m0yZCRI-00002bC@druid.net
Whole thread Raw
In response to money or dollar type  ("Jose' Soares Da Silva" <sferac@bo.nettuno.it>)
List pgsql-hackers
Thus spake Jose' Soares Da Silva
> I think that PostgreSQL money type should be very useful if we could
> remove the dollar sign. We can't use it with Lira/Peseta/Mark etc.
> In europe now we have Euro. If we remove the $ it will be useful otherwise
> we have to rename it to 'dollar'. ;-)

I have been trying to remove this from the code.  For some reason I can't
compile the system (something about wrong number of args to gettimeofday
in backend/tcop/postgres.c) but in the meantime, have you tried the
USE_LOCALE define?  That should at least switch it to your local money
indicator.

> PS: Is there a reason to left justify it ?

Not that I can think of but I'm not sure where you change that.

--
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.

pgsql-hackers by date:

Previous
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: [HACKERS] money or dollar type
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: AW: [HACKERS] Re: [QUESTIONS] money or dollar type