Re: [HACKERS] money or dollar type

Поиск
Список
Период
Сортировка
От darcy@druid.net (D'Arcy J.M. Cain)
Тема Re: [HACKERS] money or dollar type
Дата
Msg-id m0yZCRI-00002bC@druid.net
обсуждение исходный текст
Ответ на money or dollar type  ("Jose' Soares Da Silva" <sferac@bo.nettuno.it>)
Список 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 по дате отправления:

Предыдущее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] money or dollar type
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: AW: [HACKERS] Re: [QUESTIONS] money or dollar type