diff options
author | Noah Misch <noah@leadboat.com> | 2015-10-03 20:19:57 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-10-03 20:19:57 -0400 |
commit | 3cb0a7e75aaa9a7826c769068970ce2200e61023 (patch) | |
tree | 3aa82c69eed4d228694e2708278da04ce7ed3eb4 /src/backend/executor/execParallel.c | |
parent | 23fc0b485d6dfa49ff20fff6c5661be4b12a5bff (diff) | |
download | postgresql-3cb0a7e75aaa9a7826c769068970ce2200e61023.tar.gz postgresql-3cb0a7e75aaa9a7826c769068970ce2200e61023.zip |
Make BYPASSRLS behave like superuser RLS bypass.
Specifically, make its effect independent from the row_security GUC, and
make it affect permission checks pertinent to views the BYPASSRLS role
owns. The row_security GUC thereby ceases to change successful-query
behavior; it can only make a query fail with an error. Back-patch to
9.5, where BYPASSRLS was introduced.
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions