aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeRecursiveunion.c
diff options
context:
space:
mode:
authorJoe Conway <mail@joeconway.com>2015-07-28 16:01:53 -0700
committerJoe Conway <mail@joeconway.com>2015-07-28 16:01:53 -0700
commitf781a0f1d88411978c9df5f05cbb4f46aabe3d24 (patch)
tree23fdbf53c265ac15dcc82d529b771ac11b2d42f0 /src/backend/executor/nodeRecursiveunion.c
parent8c72a7fab47a7f501d211468d6e477e1f3a20599 (diff)
downloadpostgresql-f781a0f1d88411978c9df5f05cbb4f46aabe3d24.tar.gz
postgresql-f781a0f1d88411978c9df5f05cbb4f46aabe3d24.zip
Create a pg_shdepend entry for each role in TO clause of policies.
CreatePolicy() and AlterPolicy() omit to create a pg_shdepend entry for each role in the TO clause. Fix this by creating a new shared dependency type called SHARED_DEPENDENCY_POLICY and assigning it to each role. Reported by Noah Misch. Patch by me, reviewed by Alvaro Herrera. Back-patch to 9.5 where RLS was introduced.
Diffstat (limited to 'src/backend/executor/nodeRecursiveunion.c')
0 files changed, 0 insertions, 0 deletions