While Using COPY COMMAND ...

Поиск
Список
Период
Сортировка
От Bhuvan A
Тема While Using COPY COMMAND ...
Дата
Msg-id Pine.LNX.4.20.0107061153150.10925-100000@Larry.bks
обсуждение исходный текст
Ответ на Re: Re: pls Help us... (sql question)  ("Richard Huxton" <dev@archonet.com>)
Ответы Re: While Using COPY COMMAND ...  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-sql
hello sirs,,

I am using PSQL client. I can able to copy the contents of a
table to '/tmp/' directory. But Why can't i able to copy
contents of a table to my home directory?

But, i can redirect the output of a command (\o) to a file
in my home directory..  How it gets succeed while the prev.
doesn't????

For your clarifications, here is the workflow.


bhuvan=# copy f_addr_phones with oids to
'/home/bhuvan/fap-table';
ERROR:  COPY command, running in backend with effective uid
1015, could not open file '/home/bhuvan/fap-table' for
writing.  Errno = Permission denied (13).
bhuvan=# copy f_addr_phones with oids to '/tmp/fap-table';
COPY
bhuvan=# 

------






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

Предыдущее
От: Bhuvan A
Дата:
Сообщение: Re: ConnecDB() -- couldn't send SSL negotiation packet:
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: ConnecDB() -- couldn't send SSL negotiation packet: