Re: alter role - superuser - permissions

Поиск
Список
Период
Сортировка
От Mike
Тема Re: alter role - superuser - permissions
Дата
Msg-id CAECVvTXwCF9Bnm1uHmYpGC=q3smkhvCRidY-gQzRSu8b9DFiBg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: alter role - superuser - permissions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: alter role - superuser - permissions  (Mike <1100100@gmail.com>)
Список pgsql-novice
Hi Tom,

Thanks for the pointer to the list discussion.
Many good brains going at it.  :-)

On Sun, Sep 4, 2016 at 11:27 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Mike <1100100@gmail.com> writes:
>> But, when I try the copy command, the following error occurs:
>
>> mmm=# copy accounts
>> (employ_last,employ_first,service,website,userid,password) from
>> '/home/mmm/Documents/accounts-services.csv';
>> ERROR:  could not open file
>> "/home/mmm/Documents/accounts-services.csv" for reading: Permission
>> denied
>
> COPY executes in the server process, so this is likely to fail unless
> /home/mmm/Documents/accounts-services.csv is world-readable.  You
> probably want to use psql's \copy command instead.
>
> There's some discussion going on right now about adding a HINT to
> this error message to help out people in your situation.  If you
> feel like bringing a novice's-eye viewpoint to the discussion, it's
> over in pgsql-hackers at
>
> https://www.postgresql.org/message-id/flat/CAMsr+YEqtD97qPEzQDqrCt5QiqPbWP_X4hmvy2pQzWC0GWiyPA@mail.gmail.com
>
>                         regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: alter role - superuser - permissions
Следующее
От: Mike
Дата:
Сообщение: Re: alter role - superuser - permissions