Re: Python interface and Money?
| От | darcy@druid.net (D'Arcy J.M. Cain) |
|---|---|
| Тема | Re: Python interface and Money? |
| Дата | |
| Msg-id | 20011025114931.9BA271A6B@druid.net обсуждение |
| Ответ на | Python interface and Money? (Joel Mc Graw <jmcgraw@databill.com>) |
| Список | pgsql-interfaces |
Thus spake Thomas Lockhart
> > > While browsing the mailing list for an answer to this problem I found
> > > several references to the money type being deprecated. Is that the
> > > problem?
> > They keep saying that DECIMAL should be used instead but they are not
> > exactly equivalent. The MONEY type was originally written with locale
> > support and displays the local currency symbol.
>
> Hmm. If we keep the money type then we should change the internal
> implementation to use numeric or decimal or at least int64 instead of
> int32. Comments?
Definitely int64. Originally I wrote it as long for portability but I
think that the time has come to assume that everything that PostgreSQL
runs on can support 64 bit.
--
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 425 1212 (DoD#0082) (eNTP) | what's for dinner.
В списке pgsql-interfaces по дате отправления: