From: Gerhard H?ring <ghaering@us...> - 2002-09-08 16:18:35
Update of /cvsroot/pypgsql/pypgsql
In directory usw-pr-cvs1:/tmp/cvs-serv31443
08SEP2002 gh Updated changelog for pyPgSQL 2.2.
RCS file: /cvsroot/pypgsql/pypgsql/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** ChangeLog 5 Jun 2002 08:27:06 -0000 1.15
--- ChangeLog 8 Sep 2002 16:18:30 -0000 1.16
*** 1,4 ****
--- 1,47 ----
+ Changes since pyPgSQL Version 2.1
+ The following source code files were added to Version 2.2 of pyPgSQL:
+ pyPgSQL.spec - RPM spec file, contributed by Sean Reifschneider.
+ Changes to README
+ * Added note about case-insensitiveness of column access in PgResultSet.
+ Changes to PgSQL.py
+ * Fixed various problems with the PgResultSet: Column (attribute and
+ dictionary) access is now case-insensitive. A __contains__ method was added
+ and the __setattr__ method was fixed. The get method got an optional default
+ value parameter.
+ * Fixed various problems with the PgNumeric type:
+ - Added code to allow a float as an argument to the PgNumeric constructor.
+ - You can now change the precision/scale of a PgNumeric by:
+ a = PgNumeric(pgnumeric, new prec, new scale).
+ This can be used to 'cast' a PgNumeric to the proper precision and scale
+ before storing it in a field.
+ - The arithmatic routines (__add__, __radd__, etc) now ensure that the
+ arguments are properly coerced to the correct types.
+ - Added support for the augmented arithmetic operations (__iadd__, etc).
+ - The math routines would lose precision because the precision/ scale were
+ set to be the same as the first operand. This is no longer the case all
+ precision is retained for the +, -, and * operations.
+ * Fixed problem that occurs when a query on an OID field doesn't return any
+ rows. [Bug #589370].
+ * Applied patch #569203 and also added __pos__ and __abs__ special methods to
+ * Ensure proper SQL-quoting of long ints.
+ Changes to PgSQLTestcases.py
+ * 14 new tests, mostly for PgNumeric and PgResultSet.
Changes since pyPgSQL Version 2.0
Get latest updates about Open Source Projects, Conferences and News.