Re: ALTER DEFAULT PRIVs / not working for me - Mailing list pgsql-novice

From Tom Lane
Subject Re: ALTER DEFAULT PRIVs / not working for me
Date
Msg-id 2173.1289930811@sss.pgh.pa.us
Whole thread Raw
In response to ALTER DEFAULT PRIVs / not working for me  (Michael Rau <michael.rau@iqundu.com>)
Responses Re: ALTER DEFAULT PRIVs / not working for me  (Michael Rau <michael.rau@iqundu.com>)
List 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 by date:

Previous
From: Michael Rau
Date:
Subject: ALTER DEFAULT PRIVs / not working for me
Next
From: Michael Rau
Date:
Subject: Re: ALTER DEFAULT PRIVs / not working for me