Re: [GENERAL] COPY to question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] COPY to question
Дата
Msg-id 30889.1484677735@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [GENERAL] COPY to question  (Rich Shepard <rshepard@appl-ecosys.com>)
Список pgsql-general
Rich Shepard <rshepard@appl-ecosys.com> writes:
>    Running -9.6.1. I have a database created and owned by me, but cannot copy
> a table to my home directory. Postgres tells me it cannot write to that
> directory. The only way to copy tables to files is by doing so as the
> superuser (postgres).

>    Why is this, and can I change something so I, as a user, can copy tables
> directly to ~/?

Use psql's \copy instead.

            regards, tom lane


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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: [GENERAL] COPY to question
Следующее
От: Rich Shepard
Дата:
Сообщение: Re: [GENERAL] COPY to question [ANSWERED]