Re: [HACKERS] money or dollar type

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it>
Cc: hackers postgres <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] money or dollar type
Date: 1998-05-11 14:29:52
Message-ID: 35570B60.BC0D3130@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-05-11 14:42:41 Re: [HACKERS] mmap and MAP_ANON
Previous Message Oliver Elphick 1998-05-11 14:14:44 Re: [QUESTIONS] money or dollar type