Re: ERROR

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: ERROR
Дата
Msg-id 4922566D.2070106@postnewspapers.com.au
обсуждение исходный текст
Ответ на ERROR  (Gustavo Rosso <grosso@sadaic.org.ar>)
Список pgsql-general
Gustavo Rosso wrote:
> I create a db wiht user postgres, but other users can't no create
> tables, and I give all privileges.
>
> (banco is my db)
>
> grant all on database banco to public;
> grant create on database banco to public;
>
> This is the error:
> *ERROR:  must be owner of relation (table)*

The user running the GRANT command must be the table owner or (I think)
a database superuser.

For table creation, you may need to GRANT the CREATE permission (or ALL
permissions) on the `public' schema. I can't remember off the top of my
head.

--
Craig Ringer

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

Предыдущее
От: "Webb Sprague"
Дата:
Сообщение: "INNER JOIN .... USING " in an UPDATE
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: How to reduce impact of a query.