mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-05 20:23:03 +03:00
Preparing release 2.0.11
This commit is contained in:
parent
e1fae0fcac
commit
091102a919
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
||||||
MANIFEST
|
MANIFEST
|
||||||
|
*~
|
||||||
*.userprefs
|
*.userprefs
|
||||||
*.pidb
|
*.pidb
|
||||||
|
*.pyc
|
||||||
dist/*
|
dist/*
|
||||||
build/*
|
build/*
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
2009-05-10 Federico Di Gregorio <fog@initd.org>
|
2009-05-10 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* Release 2.0.11.
|
||||||
|
|
||||||
* lib/extras.py: fixed crash in fetchone() when prefetching using
|
* lib/extras.py: fixed crash in fetchone() when prefetching using
|
||||||
a RealDictCursor.
|
a RealDictCursor.
|
||||||
|
|
||||||
|
|
16
NEWS
16
NEWS
|
@ -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
|
What's new in psycopg 2.0.10
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
@ -13,7 +27,7 @@ What's new in psycopg 2.0.10
|
||||||
.protocol_version.
|
.protocol_version.
|
||||||
- The connection object has a .get_parameter_status() methods that
|
- The connection object has a .get_parameter_status() methods that
|
||||||
can be used to obtain useful information from the server.
|
can be used to obtain useful information from the server.
|
||||||
|
|
||||||
* Bug fixes:
|
* Bug fixes:
|
||||||
- None is now correctly always adapted to NULL.
|
- None is now correctly always adapted to NULL.
|
||||||
- Two double memory free errors provoked by multithreading and
|
- Two double memory free errors provoked by multithreading and
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
# See the LICENSE file for details.
|
# 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 sys
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -628,7 +628,7 @@ pq_execute(cursorObject *curs, const char *query, int async)
|
||||||
|
|
||||||
pthread_mutex_unlock(&(curs->conn->lock));
|
pthread_mutex_unlock(&(curs->conn->lock));
|
||||||
Py_END_ALLOW_THREADS;
|
Py_END_ALLOW_THREADS;
|
||||||
|
|
||||||
conn_notice_process(curs->conn);
|
conn_notice_process(curs->conn);
|
||||||
|
|
||||||
/* if the execute was sync, we call pq_fetch() immediately,
|
/* if the execute was sync, we call pq_fetch() immediately,
|
||||||
|
@ -665,7 +665,7 @@ _pq_fetch_tuples(cursorObject *curs)
|
||||||
|
|
||||||
Py_BEGIN_ALLOW_THREADS;
|
Py_BEGIN_ALLOW_THREADS;
|
||||||
pthread_mutex_lock(&(curs->conn->lock));
|
pthread_mutex_lock(&(curs->conn->lock));
|
||||||
|
|
||||||
pgnfields = PQnfields(curs->pgres);
|
pgnfields = PQnfields(curs->pgres);
|
||||||
pgbintuples = PQbinaryTuples(curs->pgres);
|
pgbintuples = PQbinaryTuples(curs->pgres);
|
||||||
|
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -55,7 +55,7 @@ from distutils.command.build_ext import build_ext
|
||||||
from distutils.sysconfig import get_python_inc
|
from distutils.sysconfig import get_python_inc
|
||||||
from distutils.ccompiler import get_default_compiler
|
from distutils.ccompiler import get_default_compiler
|
||||||
|
|
||||||
PSYCOPG_VERSION = '2.0.10'
|
PSYCOPG_VERSION = '2.0.11'
|
||||||
version_flags = ['dt', 'dec']
|
version_flags = ['dt', 'dec']
|
||||||
|
|
||||||
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user