Re: Reworks of DML permission checks

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Reworks of DML permission checks
Дата
Msg-id AANLkTini0FGYED8pS4peJ9=PR1Ky_oQGcvi_TfK+1Je3@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Reworks of DML permission checks  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Список pgsql-hackers
2010/7/19 KaiGai Kohei <kaigai@ak.jp.nec.com>:
> The attached patch is the revised one.
>
> * It was rebased to the latest git HEAD.
> * Prototype of ExecCheckRTEPerms() was changed; it become to return
>  a bool value to inform the caller its access control decision, and
>  its 'ereport_on_violation' argument has gone.
> * ExecCheckRTPerms() calls aclcheck_error() when ExecCheckRTEPerms()
>  returned false, and 'ereport_on_violation' is true.
> * Add '#include "executor/executor.h"' on the ri_triggers.c.

Committed with some changes to the comments.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Add column if not exists (CINE)
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: ExecutorCheckPerms() hook