From a6dff6c82a99c82c3cfd98ca382884d0cf643d35 Mon Sep 17 00:00:00 2001 From: Federico Di Gregorio Date: Sun, 22 Feb 2009 23:37:34 +0100 Subject: [PATCH] Preparing release 2.0.9 --- NEWS | 14 ++++++++++++++ ZPsycopgDA/DA.py | 2 +- setup.cfg | 2 +- setup.py | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 0a866c47..cb50374a 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,20 @@ What's new in psycopg 2.0.9 * New features: - COPY TO/COPY FROM queries now can be of any size and psycopg will correctly quote separators. + - float values Inf and NaN are now correctly handled and can + round-trip to the database. + - executemany() now return the numer of total INSERTed or UPDATEd + rows. Note that, as it has always been, executemany() should not + be used to execute multiple SELECT statements and while it will + execute the statements without any problem, it will return the + wrong value. + - copy_from() and copy_to() can now use quoted separators. + - "import psycopg2.extras" to get UUID support. + +* Bug fixes: + - register_type() now works on connection and cursor subclasses. + - fixed a memory leak when using lobjects. + What's new in psycopg 2.0.8 --------------------------- diff --git a/ZPsycopgDA/DA.py b/ZPsycopgDA/DA.py index f29ca514..c72e9174 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') +ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9') import sys import time diff --git a/setup.cfg b/setup.cfg index 1d6b2157..6b458e01 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [build_ext] -define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG +define=PSYCOPG_EXTENSIONS,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3 # PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this) # PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower) diff --git a/setup.py b/setup.py index 02daa410..ec4e84d4 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,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.8' +PSYCOPG_VERSION = '2.0.9' version_flags = ['dt', 'dec'] PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')