Re: ALTER DEFAULT PRIVs / not working for me

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER DEFAULT PRIVs / not working for me
Дата
Msg-id 2173.1289930811@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ALTER DEFAULT PRIVs / not working for me  (Michael Rau <michael.rau@iqundu.com>)
Ответы Re: ALTER DEFAULT PRIVs / not working for me  (Michael Rau <michael.rau@iqundu.com>)
Список pgsql-novice
Michael Rau <michael.rau@iqundu.com> writes:
> I am very excited about the new features of 9.0 to ALTER DEFAULT PRIVILEGES.
> But I cannot get it working. What am I doing wrong?

I think you misunderstand this:

> test=# alter default privileges for role iquser GRANT ALL ON TABLES to iquser;

That says to change the default privileges for tables that are
subsequently created by role iquser.  It does not apply to tables
created by any other role.  In particular it does not recursively
apply to roles that happen to be a member of the group iquser.

            regards, tom lane

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

Предыдущее
От: Michael Rau
Дата:
Сообщение: ALTER DEFAULT PRIVs / not working for me
Следующее
От: Michael Rau
Дата:
Сообщение: Re: ALTER DEFAULT PRIVs / not working for me