aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/sql/postgres_fdw.sql
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-12-11 16:12:25 -0500
committerStephen Frost <sfrost@snowman.net>2015-12-11 16:12:25 -0500
commit833728d4c8832f1d37e7aeaa723c8bc4045df32e (patch)
tree5e484a5a7d8a09e716e733e37a56e6b6143b3497 /contrib/postgres_fdw/sql/postgres_fdw.sql
parent4fcf48450d38e28e69e629c779a7866183d8ea41 (diff)
downloadpostgresql-833728d4c8832f1d37e7aeaa723c8bc4045df32e.tar.gz
postgresql-833728d4c8832f1d37e7aeaa723c8bc4045df32e.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 'contrib/postgres_fdw/sql/postgres_fdw.sql')
0 files changed, 0 insertions, 0 deletions