Am 05.01.2013 19:41, schrieb D'Arcy J.M. Cain:
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.

The setting already exists, it is lc_monetary. Postgres interprets '.' and ',' according to lc_monetary on both input and output. The problem is that PyGres doesn't care, it always assumes '.' is the decimal point and converts output (and as I just noticed, also input) that way.

-- Christoph

_______________________________________________
PyGreSQL mailing list
[email protected]
https://mail.vex.net/mailman/listinfo.cgi/pygresql

Reply via email to