COPY with FORMAT in Postgresql 9.x

Поиск
Список
Период
Сортировка
От Humair Mohammed
Тема COPY with FORMAT in Postgresql 9.x
Дата
Msg-id COL115-W14A2507415BEDD0DE5BB1BA8270@phx.gbl
обсуждение исходный текст
Ответы Re: COPY with FORMAT in Postgresql 9.x
Список pgsql-sql

Postgres 9.x provies the COPY command with new syntax with a new option called FORMAT


However when I run the following command:

COPY dQstn FROM 'c:/bcp/postgres/dQstn.csv' WITH FORMAT csv;

I get the following error message:

ERROR:  syntax error at or near "FORMAT"

If I use the 8.x syntax without the FORMAT option it works fine.

В списке pgsql-sql по дате отправления: