diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-07 10:46:43 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2011-06-07 11:16:06 +0100 |
commit | 9b5ac7951365c166535f645be1d612afc0cc1ec2 (patch) | |
tree | d131208fba45c17759753c726864989eb1c33b72 /psycopg/cursor.h | |
parent | 816b5dda33a8914532da160bded65a6f3afb9c9b (diff) | |
download | psycopg2-9b5ac7951365c166535f645be1d612afc0cc1ec2.tar.gz |
Fixed default size for read copy buffer
The original commit stated it should have been 8192.
Diffstat (limited to 'psycopg/cursor.h')
-rw-r--r-- | psycopg/cursor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psycopg/cursor.h b/psycopg/cursor.h index 09ac12a..c6ca25b 100644 --- a/psycopg/cursor.h +++ b/psycopg/cursor.h @@ -64,7 +64,7 @@ struct cursorObject { 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 8132 +#define DEFAULT_COPYBUFF 8192 PyObject *tuple_factory; /* factory for result tuples */ PyObject *tzinfo_factory; /* factory for tzinfo objects */ |