Search Postgresql Archives

GRANT question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
As a superuser I created a normal user:

	CREATE USER probauser NOCREATEDB NOCREATEUSER;
	ALTER GROUP eden_users ADD USER probauser;

a function:

	CREATE OR REPLACE FUNCTION edenproc_usesysid(text)
	  RETURNS int4 AS .........
	-- Note that the owner of this function is the superuser.

I added the EXECUTE grant for a function to the probauser:

	GRANT EXECUTE ON FUNCTION edenproc_usesysid(text) TO probauser;


And then tried to run the function:

# select edenproc_usesysid('probauser');
ERROR:  function edenproc_usesysid(text) does not exist
HINT:  No function matches the given name and argument types. You may need
to add explicit type casts.

Certainly as the superuser I can run the function... What's missing more??? 


Thank you,
  -- Csaba Együd

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/183 - Release Date: 2005.11.25.
 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux