Re: New version of money type

Поиск
Список
Период
Сортировка
От D'Arcy J.M. Cain
Тема Re: New version of money type
Дата
Msg-id 20061221083919.4a62eb77.darcy@druid.net
обсуждение исходный текст
Ответ на Re: New version of money type  (David Fetter <david@fetter.org>)
Ответы Re: New version of money type  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, 21 Dec 2006 00:21:08 -0800
David Fetter <david@fetter.org> wrote:
> On Wed, Dec 20, 2006 at 08:44:07PM -0500, D'Arcy J.M. Cain wrote:
> > Now that 8.3 has been branched shall I go ahead and commit?  As
> > discussed I will put the currency symbol back in just so that it can
> > be discussed and worked on as a completely separate issue.  I have
> > attached the current patch against HEAD.
> 
> I noticed that all your numbers are in English.  Is it necessary to
> hard-code all that?  Also, you're assuming that powers of 10 which are
> divisible by 3 are the relevant ones.  In China, it's powers of 10
> divisible by 4, and in India, it's 0, 1, 2, 3, followed by odd numbers
> up through 19.

Very good points.  However, like the currency symbol issue I would like
to separate that into another discussion.  The code already exists with
the warts you mention (and more) and this proposal is to fix one thing
that will make it more useful to others.  Let's get that change in and
then start fixing up some of those other issues.

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Tuning single row operations
Следующее
От: "Zeugswetter Andreas ADI SD"
Дата:
Сообщение: Re: Load distributed checkpoint