copy- what's my root directory?

Поиск
Список
Период
Сортировка
От Eric Hulburd
Тема copy- what's my root directory?
Дата
Msg-id CAFNz45sMGXh410nQaGQ08H8Gk53XxWLPfPExw_GOuu2wo+T8Lw@mail.gmail.com
обсуждение исходный текст
Ответы Re: copy- what's my root directory?  (Carlo Ascani <carlo.ascani@2ndquadrant.it>)
Список pgsql-novice
Hi,
I've got another newbie question.  I want to copy some csv data into my postgresql database.  I'm confused with the syntax though.  I entered

mydb=# copy mytable from '/data.csv';

It tells me it can't find data.csv, which means I saved it in the wrong place.  I've tried the data and scripts folder.  Where do I save import/export files and where is all my database work being saved?

Thanks.
Eric

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

Предыдущее
От: János Löbb
Дата:
Сообщение: platform AIX ?
Следующее
От: Gary Chambers
Дата:
Сообщение: C Set Returning Function (SRF)