postgresql/src/backend
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
..
access Improve log messages related to tablespace_map file 2015-09-15 23:21:51 +09:00
bootstrap
catalog Update SQL features list 2015-09-12 00:08:18 -04:00
commands RLS refactoring 2015-09-15 15:49:31 -04:00
executor RLS refactoring 2015-09-15 15:49:31 -04:00
foreign
lib Avoid use of float arithmetic in bipartite_match.c. 2015-08-23 13:02:18 -04:00
libpq Support RADIUS passwords up to 128 characters 2015-09-06 14:31:53 +02:00
main
nodes RLS refactoring 2015-09-15 15:49:31 -04:00
optimizer Fix setrefs.c comment properly. 2015-09-10 10:23:56 -04:00
parser
po
port
postmaster Remove files signaling a standby promotion request at postmaster startup 2015-09-09 22:51:44 +09:00
regex Fix minor bug in regexp makesearch() function. 2015-09-09 20:14:58 -04:00
replication Add ability to reserve WAL upon slot creation via replication protocol. 2015-09-06 13:30:57 +02:00
rewrite RLS refactoring 2015-09-15 15:49:31 -04:00
snowball
storage Fix build problems in commit aa65de042f. 2015-09-11 14:56:17 -04:00
tcop Fix subtransaction cleanup after an outer-subtransaction portal fails. 2015-09-04 13:37:14 -04:00
tsearch
utils RLS refactoring 2015-09-15 15:49:31 -04:00
.gitignore
common.mk
Makefile Fix build problems in commit aa65de042f. 2015-09-11 14:56:17 -04:00
nls.mk