Tarlika Elisabeth Schmitz <postgres...@numerixtechnology.de> writes: > I changed event.sql (3 lines): > \COPY > (event_id, event_name) > FROM STDIN DELIMITER AS ',' NULL AS ''
> Now I am getting error messages: > psql:event.sql:1: \copy:parse error at end of line I don't believe you can split backslash commands across lines. > When I remove the linefeeds I don't get errors but it does not import > anything. You wanted pstdin, not stdin. regards, tom lane -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql