From a1c7f4bf5d2797db439f23e69abf1f907211f154 Mon Sep 17 00:00:00 2001 From: Sean Harrington Date: Fri, 29 Jul 2016 11:17:23 -0400 Subject: [PATCH] Quotes need to be in the form quote_char --- psycopg/cursor_type.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psycopg/cursor_type.c b/psycopg/cursor_type.c index d5634755..55409799 100644 --- a/psycopg/cursor_type.c +++ b/psycopg/cursor_type.c @@ -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";