aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2015-10-03 20:19:57 -0400
committerNoah Misch <noah@leadboat.com>2015-10-03 20:20:50 -0400
commit01ba7894f3f72ea57d1cfdc4f40f6231bc6cd9cd (patch)
tree8153ebad55cc49f2cb534ec4be5c2e8f96d3071c /src/backend/utils/adt/jsonfuncs.c
parentcfddb5df5a84923160b23890d6086bcbcd1fd655 (diff)
downloadpostgresql-01ba7894f3f72ea57d1cfdc4f40f6231bc6cd9cd.tar.gz
postgresql-01ba7894f3f72ea57d1cfdc4f40f6231bc6cd9cd.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/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions