postgresql/src/include/rewrite
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
..
prs2lock.h Collection of typo fixes. 2015-05-20 16:56:22 +03:00
rewriteDefine.h Change many routines to return ObjectAddress rather than OID 2015-03-03 14:10:50 -03:00
rewriteHandler.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
rewriteManip.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
rewriteRemove.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
rewriteSupport.h Update copyright for 2015 2015-01-06 11:43:47 -05:00
rowsecurity.h RLS refactoring 2015-09-15 15:49:31 -04:00