pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
GRANT EXECUTE doesn't work?!
3+ messages / 3 participants
[nested] [flat]

* GRANT EXECUTE doesn't work?!
@ 2003-05-06 12:58 Gémes Géza <geza@kzsdabas.sulinet.hu>
  2003-05-06 13:44 ` Re: GRANT EXECUTE doesn't work?! A.Bhuvaneswaran <bhuvansql@myrealbox.com>
  2003-05-06 14:37 ` Re: GRANT EXECUTE doesn't work?! Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 3+ messages in thread

From: Gémes Géza @ 2003-05-06 12:58 UTC (permalink / raw)
  To: pgsql-admin

Hi everybody!

First of all sorry for my english.
I have a function, and I'd like to give the right to execute it to a 
group, so I ran

#GRANT EXECUTE ON function_name_here TO group_name_here;

and also tried

#GRANT EXECUTE ON function_name_here(parametertype, e.g char(10)) TO 
group_name_here;

No one works for me.

I ran postgresql 7.3.2 on Mandrake-Linux default build and install, RPMS:

postgresql-test-7.3.2-5mdk
postgresql-server-7.3.2-5mdk
postgresql-pl-7.3.2-5mdk
postgresql-docs-7.3.2-5mdk
postgresql-python-7.3.2-5mdk
postgresql-jdbc-7.3.2-5mdk
postgresql-contrib-7.3.2-5mdk
postgresql-tcl-7.3.2-5mdk
postgresql-7.3.2-5mdk
postgresql-devel-7.3.2-5mdk

I would be gracefull for any answer.

Geza Gemes
an unhappy admin




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: GRANT EXECUTE doesn't work?!
  2003-05-06 12:58 GRANT EXECUTE doesn't work?! Gémes Géza <geza@kzsdabas.sulinet.hu>
@ 2003-05-06 13:44 ` A.Bhuvaneswaran <bhuvansql@myrealbox.com>
  1 sibling, 0 replies; 3+ messages in thread

From: A.Bhuvaneswaran @ 2003-05-06 13:44 UTC (permalink / raw)
  To: Gémes Géza <geza@kzsdabas.sulinet.hu>; +Cc: pgsql-admin

> #GRANT EXECUTE ON function_name_here(parametertype, e.g char(10)) TO 
> group_name_here;

=# \df function_name_here -- ensure the datatype of the parameter

and try,
=# GRANT EXECUTE ON function_name_here(char(10)) TO GROUP group_name_here;

regards,
bhuvaneswaran




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: GRANT EXECUTE doesn't work?!
  2003-05-06 12:58 GRANT EXECUTE doesn't work?! Gémes Géza <geza@kzsdabas.sulinet.hu>
@ 2003-05-06 14:37 ` Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 0 replies; 3+ messages in thread

From: Tom Lane @ 2003-05-06 14:37 UTC (permalink / raw)
  To: Gémes Géza <geza@kzsdabas.sulinet.hu>; +Cc: pgsql-admin

=?ISO-8859-2?Q?G=E9mes_G=E9za?= <geza@kzsdabas.sulinet.hu> writes:
> #GRANT EXECUTE ON function_name_here(parametertype, e.g char(10)) TO 
> group_name_here;

According to the manual, the syntax is
	GRANT EXECUTE ON FUNCTION funcname(params) TO GROUP groupname;

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-05-06 14:37 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06 12:58 GRANT EXECUTE doesn't work?! Gémes Géza <geza@kzsdabas.sulinet.hu>
2003-05-06 13:44 ` A.Bhuvaneswaran <bhuvansql@myrealbox.com>
2003-05-06 14:37 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox