Thread: Set Privileges on All Tables (or Sequences) at Once

Set Privileges on All Tables (or Sequences) at Once

From
Date:
Set Privileges on All Tables (and/or Sequences) at
Once

Can this be done?  or am i stuck doing this on each
table and sequence whenever i create a new group?

tia...



__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

Re: Set Privileges on All Tables - Wrong List - Sorry

From
Date:
Wrong Mailing List

--- operationsengineer1@yahoo.com wrote:

> Set Privileges on All Tables (and/or Sequences) at
> Once
>
> Can this be done?  or am i stuck doing this on each
> table and sequence whenever i create a new group?
>
> tia...
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will
> ignore your desire to
>        choose an index scan if your joining column's
> datatypes do not
>        match
>




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com

Re: Set Privileges on All Tables - Wrong List - Sorry

From
Leodan Vega Izaguirre
Date:
Hi,
  I'm making a function in pgsql to create and delete an user from the
database, but in all the variant, I found an error.
 A simple example is

create function DeleteUser (varchar) returns void
as '
declare
       login alias for $1;
begin
     drop user login;
end
'
language 'plpgsql'

But always give an error. We can't manipulate roles in any function of pgsql?
Sorry for my english and the question, but I'm a student yet!