copying table to a file

Поиск
Список
Период
Сортировка
От Tyler Robert Wood
Тема copying table to a file
Дата
Msg-id Pine.OSF.3.96.1000616145446.30115A-100000@alpha2.csd.uwm.edu
обсуждение исходный текст
Ответы Re: copying table to a file
Список pgsql-general
Hi,
I am attempting to copy the contents of a table to a file, like this:

foodserver=> COPY company TO '/home/peter/copytest.out';


But I keep getting this error:

ERROR:  COPY command, running in backend with effective uid 100, could not
open file '/home/peter/copytest.out' for writing.  Errno = Permission
denied (13).

Does anybody know how I can fix this so I have permission to open files?

Thanks,

Tyler Wood
twood@uwm.edu


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

Предыдущее
От: Thomas Good
Дата:
Сообщение: Re: Perl interface
Следующее
От: Giles Lean
Дата:
Сообщение: Re: optimization by removing the file system layer?