diff --git a/ChangeLog b/ChangeLog index d402fa9e..b0cc06d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-08-08 Federico Di Gregorio + * Release 2.0.12. + * psycopg/lobject_int.c: fixed problem with writing large data using lo_write: apparently the large objects code does not like non-blocking connections. @@ -22,7 +24,7 @@ 2009-05-19 Federico Di Gregorio * Applied patch from Robert Munro to fix version check - in ZPSycopgDA. + in ZPsycopgDA. 2009-05-10 Federico Di Gregorio diff --git a/NEWS b/NEWS index c4c9f611..474695b5 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,20 @@ +What's new in psycopg 2.0.12 +--------------------------- + +* New features: + - The connection object now has a reset() method that can be used to + reset the connection to its default state. + +* Bug fixes: + - copy_to() and copy_from() now accept a much larger number of columns. + - Fixed PostgreSQL version detection. + - Fixed ZPsycopgDA version check. + - Fixed regression in ZPsycopgDA that made it behave wrongly when + receiving serialization errors: now the query is re-issued as it + should be by propagating the correct exception to Zope. + - Writing "large" large objects should now work. + + What's new in psycopg 2.0.11 --------------------------- diff --git a/ZPsycopgDA/DA.py b/ZPsycopgDA/DA.py index 526a21c9..c63fd0ed 100644 --- a/ZPsycopgDA/DA.py +++ b/ZPsycopgDA/DA.py @@ -18,7 +18,7 @@ # See the LICENSE file for details. -ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9','2.0.10', '2.0.11') +ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9','2.0.10', '2.0.11', '2.0.12') import sys import time diff --git a/setup.py b/setup.py index 8d1ea3d7..ec1223d0 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ from distutils.command.build_ext import build_ext from distutils.sysconfig import get_python_inc from distutils.ccompiler import get_default_compiler -PSYCOPG_VERSION = '2.0.11' +PSYCOPG_VERSION = '2.0.12' version_flags = ['dt', 'dec'] PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')