Re: COPY command on windows???

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: COPY command on windows???
Дата
Msg-id h3qfj4$slk$1@ger.gmane.org
обсуждение исходный текст
Ответ на COPY command on windows???  (Andreas <maps.on@gmx.net>)
Список pgsql-general
Andreas wrote on 17.07.2009 20:06:
> Hi,
> I'd like to read a csv file into PG 8.4.
>
> COPY relations FROM E'd:\\relations.csv' CSV HEADER;
>
> It throws (translated):
> ERROR: can't open file >>d:\relations.csv<< for reading
> file or directory not found

Try

COPY relations FROM 'd:/relations.csv' CSV HEADER;

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

Предыдущее
От: Sachin Srivastava
Дата:
Сообщение: initdb failure on Windows XP
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: initdb failure on Windows XP