mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-08-03 11:50:08 +03:00
Removed 'FROMAT' from copy_from command
This commit is contained in:
parent
603e462d32
commit
2871d09700
|
@ -1346,7 +1346,7 @@ psyco_curs_copy_from(cursorObject *self, PyObject *args, PyObject *kwargs)
|
|||
const char *quote = "'";
|
||||
|
||||
const char *command =
|
||||
"COPY %s%s FROM stdin WITH DELIMITER AS %s NULL AS %s FORMAT AS CSV QUOTE AS %s";
|
||||
"COPY %s%s FROM stdin WITH DELIMITER AS %s NULL AS %s QUOTE AS %s CSV";
|
||||
|
||||
Py_ssize_t query_size;
|
||||
char *query = NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user