mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Preparing 2.0.5.1.
This commit is contained in:
parent
3e0d8792a8
commit
616a1c2042
|
@ -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>
|
2006-09-01 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* Release 2.0.5.
|
* Release 2.0.5.
|
||||||
|
|
18
NEWS
18
NEWS
|
@ -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
|
What's new in psycopg 2.0.4
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
|
|
@ -1088,13 +1088,13 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs)
|
||||||
|
|
||||||
if (columns != NULL && columns != Py_None) {
|
if (columns != NULL && columns != Py_None) {
|
||||||
PyObject* collistiter = PyObject_GetIter(columns);
|
PyObject* collistiter = PyObject_GetIter(columns);
|
||||||
if (collistiter == NULL) {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
PyObject* col;
|
PyObject* col;
|
||||||
int collistlen = 2;
|
int collistlen = 2;
|
||||||
int colitemlen;
|
int colitemlen;
|
||||||
char* colname;
|
char* colname;
|
||||||
|
if (collistiter == NULL) {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
strcpy(columnlist, " (");
|
strcpy(columnlist, " (");
|
||||||
while ((col = PyIter_Next(collistiter)) != NULL) {
|
while ((col = PyIter_Next(collistiter)) != NULL) {
|
||||||
if (!PyString_Check(col)) {
|
if (!PyString_Check(col)) {
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -52,7 +52,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.5'
|
PSYCOPG_VERSION = '2.0.5.1'
|
||||||
version_flags = []
|
version_flags = []
|
||||||
|
|
||||||
# to work around older distutil limitations
|
# to work around older distutil limitations
|
||||||
|
|
Loading…
Reference in New Issue
Block a user