Re: getting 'full' names of functions?
От | Jan-Peter.Seifert@gmx.de |
---|---|
Тема | Re: getting 'full' names of functions? |
Дата | |
Msg-id | 20090304173815.4090@gmx.net обсуждение исходный текст |
Ответ на | Re: getting 'full' names of functions? (Ashish Karalkar <ashishka@synechron.com>) |
Ответы |
Re: getting 'full' names of functions?
|
Список | pgsql-admin |
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_namespacen 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
В списке pgsql-admin по дате отправления: