Re: Reworks of DML permission checks - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Reworks of DML permission checks
Date
Msg-id AANLkTini0FGYED8pS4peJ9=PR1Ky_oQGcvi_TfK+1Je3@mail.gmail.com
Whole thread Raw
In response to Re: Reworks of DML permission checks  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
List 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 by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Add column if not exists (CINE)
Next
From: Stephen Frost
Date:
Subject: Re: ExecutorCheckPerms() hook