Quotes need to be in the form quote_char

This commit is contained in:
Sean Harrington 2016-07-29 11:17:23 -04:00
parent ed553cf937
commit a1c7f4bf5d

View File

@ -1343,7 +1343,7 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs)
const char *sep = "\t";
const char *null = "\\N";
const char *quote = '"';
const char *quote = "\"";
const char *command =
"COPY %s%s FROM stdin WITH DELIMITER AS %s NULL AS %s QUOTE AS %s CSV";