Re: BUG #1874: Non-Execute Privileges enforced on grant

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: BUG #1874: Non-Execute Privileges enforced on grant
Дата
Msg-id 200509102151.45658.peter_e@gmx.net
обсуждение исходный текст
Ответ на BUG #1874: Non-Execute Privileges enforced on grant  ("Mark Diener" <md@realmwireless.com>)
Список pgsql-bugs
Mark Diener wrote:
> It seems the EXECUTE privilege is not the only privilege that is
> being checked during the execution of a PL/psql procedure
> language/function.

The EXECUTE privilege is checked before the function is executed.
During the execution of a function, you still need for each operation
the privileges that are ordinarily required for that operation.  If you
want to have the function executed with the effective privileges of its
owner, you can specify the clause SECURITY DEFINER when creating the
function.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: "Karim Mardhani"
Дата:
Сообщение: BUG #1868: Initdb error during silent install on windows 2000
Следующее
От: David Fetter
Дата:
Сообщение: Re: BUG #1875: Function parameter names clash with table column names