postgresql/src/test/modules
Stephen Frost 22eaf35c1d 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.
2015-09-15 15:49:31 -04:00
..
brin Re-add BRIN isolation test 2015-08-13 14:41:52 -03:00
commit_ts Update copyright for 2015 2015-01-06 11:43:47 -05:00
dummy_seclabel Add some more tests on event triggers 2015-03-06 19:14:28 -03:00
test_ddl_deparse Make modules/test_ddl_deparse/.gitignore match its siblings. 2015-08-03 00:02:26 -04:00
test_parser Update copyright for 2015 2015-01-06 11:43:47 -05:00
test_rls_hooks RLS refactoring 2015-09-15 15:49:31 -04:00
test_shm_mq Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
worker_spi Tweak __attribute__-wrapping macros for better pgindent results. 2015-03-26 14:03:25 -04:00
Makefile Re-add BRIN isolation test 2015-08-13 14:41:52 -03:00