postgresql/src/test
Stephen Frost dee0200f02 RLS: Keep deny policy when only restrictive exist
Only remove the default deny policy when a permissive policy exists
(either from the hook or defined by the user).  If only restrictive
policies exist then no rows will be visible, as restrictive policies
shouldn't make rows visible.  To address this requirement, a single
"USING (true)" permissive policy can be created.

Update the test_rls_hooks regression tests to create the necessary
"USING (true)" permissive policy.

Back-patch to 9.5 where RLS was added.

Per discussion with Dean.
2015-08-03 15:32:49 -04:00
..
examples Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
isolation Add some test coverage of EvalPlanQual with non-locked tables. 2015-07-29 13:27:56 -04:00
locale Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
mb Fix outdated src/test/mb/ tests, and add a GB18030 test. 2015-05-15 13:47:42 -04:00
modules RLS: Keep deny policy when only restrictive exist 2015-08-03 15:32:49 -04:00
perl Allow TAP tests to run under Msys 2015-08-02 20:58:18 -04:00
regress Fix a number of places that produced XX000 errors in the regression tests. 2015-08-02 23:49:19 -04:00
ssl Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
thread Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00
Makefile Fix up .gitignore and cleanup actions in some src/test/ subdirectories. 2015-04-24 17:13:06 -04:00