Reworks of DML permission checks - Mailing list pgsql-hackers

From KaiGai Kohei
Subject Reworks of DML permission checks
Date
Msg-id 4C15EC54.4040306@ak.jp.nec.com
Whole thread Raw
In response to Re: ExecutorCheckPerms() hook  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Responses Re: Reworks of DML permission checks
List pgsql-hackers
The attached patch tries to rework DML permission checks.

It was mainly checked at the ExecCheckRTEPerms(), but same logic was
implemented in COPY TO/FROM statement and RI_Initial_Check().

This patch tries to consolidate these permission checks into a common
function to make access control decision on DML permissions. It enables
to eliminate the code duplication, and improve consistency of access
controls.

Thanks,
--
KaiGai Kohei <kaigai@ak.jp.nec.com>

Attachment

pgsql-hackers by date:

Previous
From: KaiGai Kohei
Date:
Subject: [v9.1] add makeRangeTblEntry() into makefuncs.c
Next
From: Magnus Hagander
Date:
Subject: Re: GSoC - Materialized Views - is stale or fresh?