Release 2.0.6b2.

This commit is contained in:
Federico Di Gregorio 2007-04-11 07:12:16 +00:00
parent 2a6b523506
commit f57920b0dd
5 changed files with 15 additions and 3 deletions

View File

@ -1,5 +1,7 @@
2007-04-11 Federico Di Gregorio <fog@initd.org> 2007-04-11 Federico Di Gregorio <fog@initd.org>
* Release 2.0.6b2.
* psycopg/cursor_type.c: added check to raise an error when * psycopg/cursor_type.c: added check to raise an error when
some crazy programmer tries to use different argument formats some crazy programmer tries to use different argument formats
in the same query string. Fixes #162. in the same query string. Fixes #162.

10
NEWS
View File

@ -3,13 +3,21 @@ What's new in psycopg 2.0.6
* Full support for PostgreSQL 8.2, including NULLs in arrays. * Full support for PostgreSQL 8.2, including NULLs in arrays.
* Full support for Python 2.5 and 64 bit architectures.
* Support for almost all PostgreSQL encodings. * Support for almost all PostgreSQL encodings.
* Better management of times and dates both from Python and in Zope. * Better management of times and dates both from Python and in Zope.
* Support for per-connection type-casters (used by ZPsycopgDA too, this
fixes a long standing bug that made different connections use a random
set of date/time type-casters instead of the configured one.)
* We now have a full list of PostgreSQL error codes available by * We now have a full list of PostgreSQL error codes available by
importing the psycopg2.errorcodes module. importing the psycopg2.errorcodes module.
* Better build support on win32 platform.
* Fixed some small buglets and build glitches: * Fixed some small buglets and build glitches:
- removed double mutex destroy - removed double mutex destroy
- removed all non-constant initializers - removed all non-constant initializers
@ -17,6 +25,8 @@ What's new in psycopg 2.0.6
on 64 bit architectures on 64 bit architectures
- fixed several Python API calls to work on 64 bit architectures - fixed several Python API calls to work on 64 bit architectures
- applied compatibility macros from PEP 353 - applied compatibility macros from PEP 353
- now using more than one argument format raise an error instead of
a segfault
What's new in psycopg 2.0.5.1 What's new in psycopg 2.0.5.1
­---------------------------- ­----------------------------

View File

@ -18,7 +18,7 @@
# See the LICENSE file for details. # See the LICENSE file for details.
ALLOWED_PSYCOPG_VERSIONS = ('2.0.5', '2.0.6b1') ALLOWED_PSYCOPG_VERSIONS = ('2.0.5', '2.0.6b2', '2.0.6')
import sys import sys
import time import time

View File

@ -1,5 +1,5 @@
[build_ext] [build_ext]
define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3,PSYCOPG_DEBUG define=PSYCOPG_EXTENSIONS,PSYCOPG_DISPLAY_SIZE,PSYCOPG_NEW_BOOLEAN,HAVE_PQFREEMEM,HAVE_PQPROTOCOL3
# PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this) # PSYCOPG_EXTENSIONS enables extensions to PEP-249 (you really want this)
# PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower) # PSYCOPG_DISPLAY_SIZE enable display size calculation (a little slower)
# HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.4 # HAVE_PQFREEMEM should be defined on PostgreSQL >= 7.4

View File

@ -54,7 +54,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.6b1' PSYCOPG_VERSION = '2.0.6b2'
version_flags = [] version_flags = []
PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win') PLATFORM_IS_WINDOWS = sys.platform.lower().startswith('win')