Re: grant execute on many functions
| От | Tom Lane |
|---|---|
| Тема | Re: grant execute on many functions |
| Дата | |
| Msg-id | 3719.1088569577@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: grant execute on many functions (Joe Conway <mail@joeconway.com>) |
| Ответы |
Re: grant execute on many functions
|
| Список | pgsql-admin |
Joe Conway <mail@joeconway.com> writes:
> That's even better -- I tried regproc, but forgot about regprocedure. I
> think the problem will be, though, that the output of the reg* datatypes
> is not castable to text, and therefore cannot be used to build a dynamic
> sql statement.
Um. Sooner or later we ought to do something about the whole
automatic-casting-to-and-from-text issue. Datatypes shouldn't have to
supply both I/O procedures and text cast procedures.
> But with the help of plpgsql:
Right, in the short term you can make it work inside a plpgsql function,
since plpgsql is pretty darn lax about casting. But it'd be nice if it
worked more generally.
regards, tom lane
В списке pgsql-admin по дате отправления: