Re: ALTER DEFAULT PRIVs / not working for me

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Rau <michael(dot)rau(at)iqundu(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: ALTER DEFAULT PRIVs / not working for me
Date: 2010-11-16 18:06:51
Message-ID: 2173.1289930811@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Michael Rau <michael(dot)rau(at)iqundu(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Rau 2010-11-16 22:18:32 Re: ALTER DEFAULT PRIVs / not working for me
Previous Message Michael Rau 2010-11-16 17:32:00 ALTER DEFAULT PRIVs / not working for me