Thank you for answer, it was my mistake, sorry. Firstly, I didn't remark there is a new and an old syntax and I wrongly mixed both of them.
Best regards Petr Lancaric ---------- Původní e-mail ---------- Od: David G. Johnston <david.g.johns...@gmail.com> Komu: petr.lanca...@seznam.cz Datum: 27. 9. 2017 18:53:17 Předmět: Re: [DOCS] Wrong COPY command synopsis " On Wed, Sep 27, 2017 at 4:01 AM, <petr.lanca...@seznam.cz (mailto:petr.lanca...@seznam.cz)> wrote: "The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/9.1/static/sql-copy.html (https://www.postgresql.org/docs/9.1/static/sql-copy.html) Description: Postgres psql (PostgreSQL) 9.5.4 Wrong COPY command synopsis: 1. comma is not an options separator { ...( option [, ...] ... } 2. FORMAT is not a kewyword {... FORMAT format_name ... } Following two commands should be valid after synopsis, but they are not: gis=# COPY gis_entity FROM '/tmp/podl_db_city.csv' DELIMITER ',& #39;, FORMAT csv; ERROR: syntax error at or near "," LINE 1: ..._entity FROM '/tmp/podl_db_city.csv' DELIMITER ',&# 39;, FORMAT c... ^ gis=# COPY gis_entity FROM '/tmp/podl_db_city.csv' DELIMITER ', ' FORMAT csv; ERROR: syntax error at or near "FORMAT" LINE 1: ...entity FROM '/tmp/podl_db_city.csv' DELIMITER ',' FORMAT csv... " The parentheses surrounding the options are not optional. Personally I like to include the WITH. COPY gis_entity FROM 'file.csv' WITH ( FORMAT csv ); David J. "