Re: Python interface and Money? - Mailing list pgsql-interfaces

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: Python interface and Money?
Date
Msg-id 20011025114931.9BA271A6B@druid.net
Whole thread Raw
In response to Python interface and Money?  (Joel Mc Graw <jmcgraw@databill.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Python interface and Money?
Next
From: darcy@druid.net (D'Arcy J.M. Cain)
Date:
Subject: Re: Python interface and Money?