mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-05 21:00:08 +03:00
Changed default 'quote' to be '"
"
This commit is contained in:
parent
2871d09700
commit
ed553cf937
|
@ -1343,7 +1343,7 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs)
|
||||||
|
|
||||||
const char *sep = "\t";
|
const char *sep = "\t";
|
||||||
const char *null = "\\N";
|
const char *null = "\\N";
|
||||||
const char *quote = "'";
|
const char *quote = '"';
|
||||||
|
|
||||||
const char *command =
|
const char *command =
|
||||||
"COPY %s%s FROM stdin WITH DELIMITER AS %s NULL AS %s QUOTE AS %s CSV";
|
"COPY %s%s FROM stdin WITH DELIMITER AS %s NULL AS %s QUOTE AS %s CSV";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user