diff options
author | Stephen Frost <sfrost@snowman.net> | 2015-12-11 16:12:36 -0500 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2015-12-11 16:12:36 -0500 |
commit | fda18e46a65196b98d6ca4ce4911085b0d2f182f (patch) | |
tree | c490ad032a3aaa7fcd02e368143a59fab4f0719e /src/backend/executor/nodeFunctionscan.c | |
parent | dc4518814ecc2ae319c4d1679ee079e47dbd78e9 (diff) | |
download | postgresql-fda18e46a65196b98d6ca4ce4911085b0d2f182f.tar.gz postgresql-fda18e46a65196b98d6ca4ce4911085b0d2f182f.zip |
Handle policies during DROP OWNED BY
DROP OWNED BY handled GRANT-based ACLs but was not removing roles from
policies. Fix that by having DROP OWNED BY remove the role specified
from the list of roles the policy (or policies) apply to, or the entire
policy (or policies) if it only applied to the role specified.
As with ACLs, the DROP OWNED BY caller must have permission to modify
the policy or a WARNING is thrown and no change is made to the policy.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions