D'Arcy J.M. Cain wrote:
> On Wed, 31 Jan 2007 11:09:48 +0100
> Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>> Maybe PyGreSQL should support the Decimal type? For DECIMAL (=NUMERIC)
>> with a scale of 0, we could also use long ints.
> 
> Yes.  Money too should return Decimal.  I don't think that it is
> unreasonable for current PyGreSQL to require current Python in this
> case, especially since it is easy to add the Decimal module to older
> versions.
> 
> The problem is getting the C code to return Decimal.  That's one reason
> that I want to move that processing into pg.py and pgdb.py.

Hi,

consider that "money" is deprecated.
See
http://www.postgresql.org/docs/current/interactive/datatype-money.html

Best regards
Gerald
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to