import CSV file

Поиск
Список
Период
Сортировка
От T E Schmitz
Тема import CSV file
Дата
Msg-id 45F70BC9.801@numerixtechnology.de
обсуждение исходный текст
Ответы Re: import CSV file
Re: import CSV file
Re: import CSV file
Список pgsql-sql
I am trying to batch-load a tab-separated CSV file:

psql -h lolek  -U tes -d stockmarket -c "copy history from 
'/tmp/FTSE.csv' CSV";

ERROR:  could not open file "/tmp/FTSE.csv" for reading: No such file or 
directory

The file exists. Do I need to escape the quotes?


set-up: Postgres 8.1, Debian
-- 


Best Regards,

Tarlika Elisabeth Schmitz


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postgres configuration
Следующее
От: "D'Arcy J.M. Cain"
Дата:
Сообщение: Re: import CSV file