diff options
author | Dean Rasheed <dean.a.rasheed@gmail.com> | 2017-06-14 08:43:40 +0100 |
---|---|---|
committer | Dean Rasheed <dean.a.rasheed@gmail.com> | 2017-06-14 08:43:40 +0100 |
commit | f356ec57444e42e53474ad5a029cdf6dca195069 (patch) | |
tree | 75937969267ceb355a00b0f99122feaec53d2895 /src/backend/access/gist | |
parent | 0436f6bde8848b7135f19dd7f8548b8c2ae89a34 (diff) | |
download | postgresql-f356ec57444e42e53474ad5a029cdf6dca195069.tar.gz postgresql-f356ec57444e42e53474ad5a029cdf6dca195069.zip |
Teach RemoveRoleFromObjectPolicy() about partitioned tables.
Table partitioning, introduced in commit f0e44751d7, added a new
relkind - RELKIND_PARTITIONED_TABLE. Update
RemoveRoleFromObjectPolicy() to handle it, otherwise DROP OWNED BY
will fail if the role has any RLS policies referring to partitioned
tables.
Dean Rasheed, reviewed by Amit Langote.
Discussion: https://postgr.es/m/CAEZATCUnNOKN8sLML9jUzxecALWpEXK3a3W7y0PgFR4%2Buhgc%3Dg%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions