Hi Lukas, Sorry, it was the PostgeSQL SQL command "COPY" ( http://www.postgresql.org/docs/9.4/static/sql-copy.html ). When the "FORMAT csv" is used as in "COPY(SELECT * FROM table) TO '/path-to/foo.csv' (FORMAT csv)" or "COPY table FROM '/path-to/foo.csv' (FORMAT csv)", a syntax error is raised. It is petty, since enclosing the csv with apostrophes per recommendation solves the problem, but it would be nice if such would not be flagged as an error when it is supposedly not (pgAdmin3 accepts csv as is). Thanks, Luisa
↧