summaryrefslogtreecommitdiff
path: root/psycopg/cursor.h
diff options
context:
space:
mode:
authorFederico Di Gregorio <fog@initd.org>2009-08-09 15:13:42 +0200
committerFederico Di Gregorio <fog@initd.org>2009-08-09 15:13:42 +0200
commit4c3e2ad94ba7434e02f77b34f0cc032363316ee9 (patch)
tree2e440be7e1abe0db167946a781977545320f2b3d /psycopg/cursor.h
parente5a696ad58733e22928b23a1cf55ba72d01f7260 (diff)
downloadpsycopg2-4c3e2ad94ba7434e02f77b34f0cc032363316ee9.tar.gz
Fixed problem with lots of columns in COPY operations
Diffstat (limited to 'psycopg/cursor.h')
-rw-r--r--psycopg/cursor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/cursor.h b/psycopg/cursor.h
index 355dd27..c5b3426 100644
--- a/psycopg/cursor.h
+++ b/psycopg/cursor.h
@@ -64,7 +64,7 @@ typedef struct {
PyObject *copyfile; /* file-like used during COPY TO/FROM ops */
Py_ssize_t copysize; /* size of the copy buffer during COPY TO/FROM ops */
#define DEFAULT_COPYSIZE 16384
-#define DEFAULT_COPYBUFF 1024
+#define DEFAULT_COPYBUFF 8132
PyObject *tuple_factory; /* factory for result tuples */
PyObject *tzinfo_factory; /* factory for tzinfo objects */