Update of /usr/pubcvs/pygresql/module
In directory druid.net:/tmp/cvs-serv13260
Modified Files:
pgmodule.c
Added Files:
test_inserttable.py
Log Message:
Simplification and improvement of the inserttable() function.
It now supports very long numbers (bigint, numeric)
and converts floats correctly even with non-C locale.
Avoids sprintf("%g") because it is locale-dependent
and Python 2.4 carries LC_NUMERIC to the C level.
Non-simple types do not raise an error any more, they
are simply converted to their string representations.
To see the diffs for this commit:
New file added to pygresql: pygresql/module/test_inserttable.py
http://www.druid.net:88/pubcvs/cvsweb.cgi/pygresql/module/test_inserttable.py
cvs rdiff -c -r1.59 -r1.60 pygresql/module/pgmodule.c
http://www.druid.net:88/pubcvs/cvsweb.cgi/pygresql/module/pgmodule.c.diff?r1=1.59&r2=1.60
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql