Preparing release 2.0.11

This commit is contained in:
Federico Di Gregorio 2009-05-09 14:52:16 +02:00
parent e1fae0fcac
commit 091102a919
6 changed files with 23 additions and 6 deletions

3
.gitignore vendored
View File

@ -1,6 +1,7 @@
MANIFEST
*~
*.userprefs
*.pidb
*.pyc
dist/*
build/*

View File

@ -1,5 +1,7 @@
2009-05-10 Federico Di Gregorio <fog@initd.org>
* Release 2.0.11.
* lib/extras.py: fixed crash in fetchone() when prefetching using
a RealDictCursor.

16
NEWS
View File

@ -1,3 +1,17 @@
What's new in psycopg 2.0.11
---------------------------
* New features:
- DictRow and RealDictRow now use less memory. If you inherit on them
remember to set __slots__ for your new attributes or be prepare to
go back to old memory usage.
* Bug fixes:
- Fixed exeception in setup.py.
- More robust detection of PostgreSQL development versions.
- Fixed exception in RealDictCursor, introduced in 2.0.10.
What's new in psycopg 2.0.10
---------------------------
@ -13,7 +27,7 @@ What's new in psycopg 2.0.10
.protocol_version.
- The connection object has a .get_parameter_status() methods that
can be used to obtain useful information from the server.
* Bug fixes:
- None is now correctly always adapted to NULL.
- Two double memory free errors provoked by multithreading and

View File

@ -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')
ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9','2.0.10', '2.0.11')
import sys
import time

View File

@ -628,7 +628,7 @@ pq_execute(cursorObject *curs, const char *query, int async)
pthread_mutex_unlock(&(curs->conn->lock));
Py_END_ALLOW_THREADS;
conn_notice_process(curs->conn);
/* if the execute was sync, we call pq_fetch() immediately,
@ -665,7 +665,7 @@ _pq_fetch_tuples(cursorObject *curs)
Py_BEGIN_ALLOW_THREADS;
pthread_mutex_lock(&(curs->conn->lock));
pgnfields = PQnfields(curs->pgres);
pgbintuples = PQbinaryTuples(curs->pgres);

View File

@ -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.10'
PSYCOPG_VERSION = '2.0.11'
version_flags = ['dt', 'dec']
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')