Re: Privilege problems: access denied on select for owner?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Privilege problems: access denied on select for owner?
Дата
Msg-id 6190.1249325920@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Privilege problems: access denied on select for owner?  (Nathan Jahnke <njahnke@gmail.com>)
Список pgsql-general
Nathan Jahnke <njahnke@gmail.com> writes:
> So the role "sample" owns the database "sample" and has default
> privileges on the table "users" in that database. From the manual:

> "There is no need to grant privileges to the owner of an object
> (usually the user that created it), as the owner has all privileges by
> default."

Owning the database has little or nothing to do with owning the objects
within it.  You have not shown us who owns the table users, but I bet
it's not "sample".

            regards, tom lane

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Privilege problems: access denied on select for owner?
Следующее
От: erobles
Дата:
Сообщение: how can i mark date function like iscachable