mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Preparing release 2.0.10
This commit is contained in:
parent
85fdc828e7
commit
d621c02e58
29
NEWS
29
NEWS
|
@ -1,3 +1,32 @@
|
|||
What's new in psycopg 2.0.10
|
||||
---------------------------
|
||||
|
||||
* New features:
|
||||
- A specialized type-caster that can parse time zones with seconds is
|
||||
now available. Note that after enabling it (see extras.py) "wrong"
|
||||
time zones will be parsed without raising an exception but the
|
||||
result will be rounded.
|
||||
- DictCursor can be used as a named cursor.
|
||||
- DictRow now implements more dict methods.
|
||||
- The connection object now expose PostgreSQL server version as the
|
||||
.server_version attribute and the protocol version used as
|
||||
.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
|
||||
garbage collection are now fixed.
|
||||
- Fixed usage of internal Python code in the notice processor; this
|
||||
should fix segfaults when receiving a lot of notices in
|
||||
multithreaded programs.
|
||||
- Should build again on MSVC and Solaris.
|
||||
- Should build with development versions of PostgreSQL (ones with
|
||||
-devel version string.)
|
||||
- Fixed some tests that failed even when psycopg was right.
|
||||
|
||||
|
||||
What's new in psycopg 2.0.9
|
||||
---------------------------
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
# See the LICENSE file for details.
|
||||
|
||||
|
||||
ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9')
|
||||
ALLOWED_PSYCOPG_VERSIONS = ('2.0.7','2.0.8','2.0.9','2.0.10')
|
||||
|
||||
import sys
|
||||
import time
|
||||
|
|
|
@ -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)
|
||||
|
|
2
setup.py
2
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.9'
|
||||
PSYCOPG_VERSION = '2.0.10'
|
||||
version_flags = ['dt', 'dec']
|
||||
|
||||
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')
|
||||
|
|
Loading…
Reference in New Issue
Block a user