Set Privileges on All Tables (or Sequences) at Once

Set Privileges on All Tables (or Sequences) at Once

am 07.10.2005 18:55:18 von operationsengineer1

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...


=09
__________________________________=20
Yahoo! Mail - PC Magazine Editors' Choice 2005=20
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

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

am 07.10.2005 19:21:05 von operationsengineer1

Wrong Mailing List

--- operationsengineer1@yahoo.com wrote:

> Set Privileges on All Tables (and/or Sequences) at
> Once
>=20
> Can this be done? or am i stuck doing this on each
> table and sequence whenever i create a new group?
>=20
> tia...
>=20
>=20
> =09
> __________________________________=20
> Yahoo! Mail - PC Magazine Editors' Choice 2005=20
> http://mail.yahoo.com
>=20
> ---------------------------(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
>=20



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

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

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

am 12.10.2005 15:11:29 von Leodan Vega Izaguirre

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 pgsq=
l?
Sorry for my english and the question, but I'm a student yet!

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq