On Sat, 05 Jan 2013 17:25:23 +0100
Christoph Zwerschke <[email protected]> wrote:
>  > finished.  What about this?
>  >
>  > 123,456
> 
> Postgres would not create such an output, it would create $123,456.00

I thought this change was for input.  

> A cleaner solution would get the decimal_point from localeconv(). But 
> even that may not be good enough (thread safety, lc_monetary could be 
> set to a different value for the connection etc.). Not sure if there
> is an official way to get this information.

We could always make C locale the default and have a setting for
others.  Let the user control it.  In any case the user should always
strip out the thousands separator if there is any possibility of
confusion.

-- 
D'Arcy J.M. Cain
PyGreSQL Development Group
http://www.PyGreSQL.org IM:[email protected]
_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to