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

From Michael Rau
Subject Re: ALTER DEFAULT PRIVs / not working for me
Date
Msg-id 201011162318.32893.michael.rau@iqundu.com
Whole thread Raw
In response to Re: ALTER DEFAULT PRIVs / not working for me  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Tom, this clarified things for me. Thanks very much for your support.

Michael.

Am Dienstag, 16. November 2010, um 19:06:51 schrieb Tom Lane:
> 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: Tom Lane
Date:
Subject: Re: ALTER DEFAULT PRIVs / not working for me
Next
From: A B
Date:
Subject: How to detect if any rows were returned in plpgsql function?