Set Privileges on All Tables (or Sequences) at Once

Поиск
Список
Период
Сортировка
Искать

Set Privileges on All Tables (or Sequences) at Once

От:
<operationsengineer1@yahoo.com>
Дата:
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

От:
<operationsengineer1@yahoo.com>
Дата:
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

От:
Leodan Vega Izaguirre <lirodamphir@gmail.com>
Дата:
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!
FAQ