mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-01 18:23:04 +03:00
Patchset copy_expert 1/5.
This commit is contained in:
parent
a779c8ef99
commit
a23de80c6b
|
@ -1,3 +1,7 @@
|
||||||
|
2007-05-29 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
|
* Applied whitespace normalization patch from David Rushby (copy_expert set.)
|
||||||
|
|
||||||
2007-04-25 Federico Di Gregorio <fog@initd.org>
|
2007-04-25 Federico Di Gregorio <fog@initd.org>
|
||||||
|
|
||||||
* psycopg/connection_type.c: added support for a new method
|
* psycopg/connection_type.c: added support for a new method
|
||||||
|
|
4
NEWS
4
NEWS
|
@ -17,6 +17,10 @@ What's new in psycopg 2.0.6
|
||||||
|
|
||||||
* copy_to and copy_from now take an extra "columns" parameter.
|
* copy_to and copy_from now take an extra "columns" parameter.
|
||||||
|
|
||||||
|
* Python tuples are now adapted to SQL sequences that can be used with
|
||||||
|
the "IN" operator by default if the psycopg2.extensions module is
|
||||||
|
imported (i.e., the SQL_IN adapter was moved from extras to extensions.)
|
||||||
|
|
||||||
* 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
|
||||||
|
|
|
@ -101,7 +101,7 @@ _mogrify(PyObject *var, PyObject *fmt, connectionObject *conn, PyObject **new)
|
||||||
*/
|
*/
|
||||||
else if (c[0] == '%' && c[1] == '(') {
|
else if (c[0] == '%' && c[1] == '(') {
|
||||||
|
|
||||||
/* check if some crazy guy mixed formats */
|
/* check if some crazy guy mixed formats */
|
||||||
if (kind == 2) {
|
if (kind == 2) {
|
||||||
Py_XDECREF(n);
|
Py_XDECREF(n);
|
||||||
psyco_set_error(ProgrammingError, (PyObject*)conn,
|
psyco_set_error(ProgrammingError, (PyObject*)conn,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user