pgsql: Add a hook in ExecCheckRTPerms().
Robert Haas <rhaas@postgresql.org>
From: rhaas@postgresql.org (Robert Haas)
To: pgsql-committers@postgresql.org
Date: 2010-07-09T14:06:01Z
Lists: pgsql-hackers
Log Message:
-----------
Add a hook in ExecCheckRTPerms().
This hook allows a loadable module to gain control when table permissions
are checked. It is expected to be used by an eventual SE-PostgreSQL
implementation, but there are other possible applications as well. A
sample contrib module can be found in the archives at:
http://archives.postgresql.org/pgsql-hackers/2010-05/msg01095.php
Robert Haas and Stephen Frost
Modified Files:
--------------
pgsql/src/backend/executor:
execMain.c (r1.349 -> r1.350)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.349&r2=1.350)
pgsql/src/include/executor:
executor.h (r1.168 -> r1.169)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/executor.h?r1=1.168&r2=1.169)