Hello Ashish, Hello Tom,

> > before I reinvent the wheel I'd like to know whether there's a shortcut
> for getting the 'full' name (incl. argtypes) of the functions within a
> database in order to REVOKE priviliges on them given to certain users.

I combined your suggestions into this query I'll be using for now:

SELECT DISTINCT n.nspname || '.' || p.oid::regprocedure::text FROM 
pg_catalog.pg_proc p LEFT JOIN pg_catalog.pg_namespace n ON n.oid = 
p.pronamespace WHERE pg_catalog.pg_function_is_visible(p.oid) AND nspname !~* 
'^pg_' AND nspname != 'information_schema';

Thank you very much again,

Peter
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01

-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

Reply via email to