Preparing 2.0.5.1.

This commit is contained in:
Federico Di Gregorio 2006-09-02 01:09:31 +00:00
parent 3e0d8792a8
commit 616a1c2042
4 changed files with 29 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2006-09-02 Federico Di Gregorio <fog@initd.org>
* Release 2.0.5.1.
* psycopg/cursor_type.c: applied patch from Jason Erickson to
build on MSVC and older gcc.
2006-09-01 Federico Di Gregorio <fog@initd.org>
* Release 2.0.5.

18
NEWS
View File

@ -1,3 +1,21 @@
What's new in psycopg 2.0.5.1
­----------------------------
* Now it really, really builds on MSVC and older gcc versions.
What's new in psycopg 2.0.5
­--------------------------
* Fixed various buglets such as:
- segfault when passing an empty string to Binary()
- segfault on null queries
- segfault and bad keyword naming in .executemany()
- OperationalError in connection objects was always None
* Various changes to ZPsycopgDA to make it more zope2.9-ish.
* connect() now accept both integers and strings as port parameter
What's new in psycopg 2.0.4
---------------------------

View File

@ -1088,13 +1088,13 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs)
if (columns != NULL && columns != Py_None) {
PyObject* collistiter = PyObject_GetIter(columns);
if (collistiter == NULL) {
return NULL;
}
PyObject* col;
int collistlen = 2;
int colitemlen;
char* colname;
if (collistiter == NULL) {
return NULL;
}
strcpy(columnlist, " (");
while ((col = PyIter_Next(collistiter)) != NULL) {
if (!PyString_Check(col)) {

View File

@ -52,7 +52,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.5'
PSYCOPG_VERSION = '2.0.5.1'
version_flags = []
# to work around older distutil limitations