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

From Thomas G. Lockhart
Subject Re: [HACKERS] money or dollar type
Date
Msg-id 35570B60.BC0D3130@alumni.caltech.edu
Whole thread Raw
In response to money or dollar type  ("Jose' Soares Da Silva" <sferac@bo.nettuno.it>)
Responses Re: [HACKERS] money or dollar type
Re: [HACKERS] money or dollar type
Re: [HACKERS] money or dollar type
List pgsql-hackers
> 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'. ;-)

Have you tried compiling with "USE_LOCALE" turned on and with the right
setting for LC_xxx? The code is supposed to use local conventions, but I
don't know if it works in the way you want. I agree that it should...

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

That is just an artifact of the column formatting; all columns are left
justified in psql afaik.

                  - Tom

pgsql-hackers by date:

Previous
From: "Göran Thyni"
Date:
Subject: Re: [HACKERS] mmap and MAP_ANON
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] Automatic type conversion