summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2015-09-15 15:49:31 -0400
committerStephen Frost <sfrost@snowman.net>2015-09-15 15:49:31 -0400
commit22eaf35c1d247407b7cf1fffb310a26cd9b9ceb1 (patch)
tree8cb3df9ac5809a83f0edec142f9d80c129824296 /src/backend/access/gist/gist.c
parent000a21336b8e218deb856f73dc8972073cb8a649 (diff)
downloadpostgresql-22eaf35c1d247407b7cf1fffb310a26cd9b9ceb1.tar.gz
RLS refactoring
This refactors rewrite/rowsecurity.c to simplify the handling of the default deny case (reducing the number of places where we check for and add the default deny policy from three to one) by splitting up the retrival of the policies from the application of them. This also allowed us to do away with the policy_id field. A policy_name field was added for WithCheckOption policies and is used in error reporting, when available. Patch by Dean Rasheed, with various mostly cosmetic changes by me. Back-patch to 9.5 where RLS was introduced to avoid unnecessary differences, since we're still in alpha, per discussion with Robert.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions