aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeBitmapOr.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-07-22 00:47:59 +0000
committerRobert Haas <rhaas@postgresql.org>2010-07-22 00:47:59 +0000
commitb8c6c71d1c513391975fc107a95f104aeeac3117 (patch)
treefac8a1a04bed94bd5944f1a3773aa4c4609e5f51 /src/backend/executor/nodeBitmapOr.c
parent9f8cf32b341f3af070c512c7d6ad7f6a5aa7505b (diff)
downloadpostgresql-b8c6c71d1c513391975fc107a95f104aeeac3117.tar.gz
postgresql-b8c6c71d1c513391975fc107a95f104aeeac3117.zip
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.
Diffstat (limited to 'src/backend/executor/nodeBitmapOr.c')
0 files changed, 0 insertions, 0 deletions