git.postgresql.org Git - postgresql.git/commit
Sun, 4 Oct 2015 00:19:57 +0000 (20:19 -0400)
Sun, 4 Oct 2015 00:19:57 +0000 (20:19 -0400)
commit 3cb0a7e75aaa9a7826c769068970ce2200e61023
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.
This is the main PostgreSQL git repository.
RSS
Atom