• Stephen Frost's avatar
    Add support for restrictive RLS policies · 093129c9
    Stephen Frost authored
    We have had support for restrictive RLS policies since 9.5, but they
    were only available through extensions which use the appropriate hooks.
    This adds support into the grammer, catalog, psql and pg_dump for
    restrictive RLS policies, thus reducing the cases where an extension is
    necessary.
    
    In passing, also move away from using "AND"d and "OR"d in comments.
    As pointed out by Alvaro, it's not really appropriate to attempt
    to make verbs out of "AND" and "OR", so reword those comments which
    attempted to.
    
    Reviewed By: Jeevan Chalke, Dean Rasheed
    Discussion: https://postgr.es/m/20160901063404.GY4028@tamriel.snowman.net
    093129c9
rowsecurity.sql 52.9 KB