postgresql/src/include/executor
Robert Haas b8c6c71d1c Centralize DML permissions-checking logic.
Remove bespoke code in DoCopy and RI_Initial_Check, which now instead
fabricate call ExecCheckRTPerms with a manufactured RangeTblEntry.
This is intended to make it feasible for an enhanced security provider
to actually make use of ExecutorCheckPerms_hook, but also has the
advantage that RI_Initial_Check can allow use of the fast-path when
column-level but not table-level permissions are present.

KaiGai Kohei.  Reviewed (in an earlier version) by Stephen Frost, and by me.
Some further changes to the comments by me.
2010-07-22 00:47:59 +00:00
..
execdebug.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
execdefs.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
execdesc.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
executor.h Centralize DML permissions-checking logic. 2010-07-22 00:47:59 +00:00
functions.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
hashjoin.h Augment EXPLAIN output with more details on Hash nodes. 2010-02-01 15:43:36 +00:00
instrument.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
nodeAgg.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeAppend.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeBitmapAnd.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeBitmapHeapscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeBitmapIndexscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeBitmapOr.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeCtescan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeFunctionscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeGroup.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeHash.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeHashjoin.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeIndexscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeLimit.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeLockRows.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeMaterial.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeMergejoin.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeModifyTable.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeNestloop.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeRecursiveunion.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeResult.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeSeqscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeSetOp.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeSort.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeSubplan.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
nodeSubqueryscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeTidscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeUnique.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeValuesscan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeWindowAgg.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
nodeWorktablescan.h Make NestLoop plan nodes pass outer-relation variables into their inner 2010-07-12 17:01:06 +00:00
spi.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
spi_priv.h pgindent run for 9.0 2010-02-26 02:01:40 +00:00
tstoreReceiver.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00
tuptable.h Update copyright for the year 2010. 2010-01-02 16:58:17 +00:00