Re: [HACKERS] money or dollar type

From: darcy(at)druid(dot)net (D'Arcy J(dot)M(dot) Cain)
To: sferac(at)bo(dot)nettuno(dot)it (Jose' Soares Da Silva)
Cc: hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] money or dollar type
Date: 1998-05-12 10:37:39
Message-ID: m0yZCRI-00002bC@druid.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at){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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1998-05-12 10:41:23 Re: [HACKERS] money or dollar type
Previous Message Hannu Krosing 1998-05-12 10:19:26 Re: [HACKERS] mmap and MAP_ANON