mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-05-01 13:43:41 +03:00
Fixed default size for read copy buffer
The original commit stated it should have been 8192.
This commit is contained in:
parent
816b5dda33
commit
9b5ac79513
|
@ -64,7 +64,7 @@ struct cursorObject {
|
||||||
PyObject *copyfile; /* file-like used during COPY TO/FROM ops */
|
PyObject *copyfile; /* file-like used during COPY TO/FROM ops */
|
||||||
Py_ssize_t copysize; /* size of the copy buffer 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_COPYSIZE 16384
|
||||||
#define DEFAULT_COPYBUFF 8132
|
#define DEFAULT_COPYBUFF 8192
|
||||||
|
|
||||||
PyObject *tuple_factory; /* factory for result tuples */
|
PyObject *tuple_factory; /* factory for result tuples */
|
||||||
PyObject *tzinfo_factory; /* factory for tzinfo objects */
|
PyObject *tzinfo_factory; /* factory for tzinfo objects */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user