Re: Create table command fails with permission denied

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Create table command fails with permission denied
Дата
Msg-id 25959.1249434962@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Create table command fails with permission denied  (Venkateswara Rao Bondada <Venkateswara_B@infosys.com>)
Ответы Re: Create table command fails with permission denied
Список pgsql-sql
Venkateswara Rao Bondada <Venkateswara_B@infosys.com> writes:
> camd=# \c cms postgres
> You are now connected to database "cms" as user "postgres".
> cms=# create table test(id character varying(80));
> ERROR:  could not create relation "test": Permission denied

Actually, what that is complaining about is that the operating system
refused its attempt to create a filesystem file to hold the table.
It's got nothing to do with permissions inside the database --- there
is something wrong with the filesystem permissions of the data
directory.  Or maybe you started the postmaster as the wrong user
(not the one that owns the data directory).
        regards, tom lane


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

Предыдущее
От: Venkateswara Rao Bondada
Дата:
Сообщение: Re: Create table command fails with permission denied
Следующее
От: John
Дата:
Сообщение: two records per row from query