On Thursday 20 January 2011 7:45:30 am Federico Di Gregorio wrote:
> On 20/01/2011 16:40, A.M. wrote:
> But this makes sense. Do you mean that banker's rounding may depend on
> the locale? If that's the case and if PostgreSQL implements such
> gimmicks then the correct default for money would be to return it to
> Python as string and let the user decide how to proceed from there.
Info on the money type:
FYI this type at times has been marked as deprecated. There has been some recent
work on it but it has issues especially, from the link above, the dump output
and moving data to a different locale.
In response to
psycopg by date
|Next:||From: Carl S. Yestrau Jr.||Date: 2011-01-23 07:53:23|
|Subject: getquoted and unicode|
|Previous:||From: A.M.||Date: 2011-01-20 15:50:16|
|Subject: Re: How to use the postgresql money type?|