Re: grant execute on many functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: grant execute on many functions
Дата
Msg-id 3318.1088567114@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: grant execute on many functions  (Joe Conway <mail@joeconway.com>)
Ответы Re: grant execute on many functions  (Joe Conway <mail@joeconway.com>)
Список pgsql-admin
Joe Conway <mail@joeconway.com> writes:
> Jean-Denis Giguere wrote:
>> But, the problem is more complex for functions because you have to give
>> the arguments.

> Does this help?

> SELECT n.nspname || '.' || p.proname ||
>         '(' || pg_catalog.oidvectortypes(p.proargtypes) || ')'

Also, casting the function's OID to regprocedure may be useful.
Random example:

regression=# select 1142::regprocedure;
      regprocedure
------------------------
 date_mii(date,integer)
(1 row)

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to list what queries are running in postgres?
Следующее
От: Joe Conway
Дата:
Сообщение: Re: grant execute on many functions