Skip site navigation (1) Skip section navigation (2)

Add support for restrictive RLS policies

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Add support for restrictive RLS policies
Date: 2016-09-01 06:34:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

As outlined in the commit message, this adds support for restrictive RLS
policies.  We've had this in the backend since 9.5, but they were only
available via hooks and therefore extensions.  This adds support for
them to be configured through regular DDL commands.  These policies are,
essentially "AND"d instead of "OR"d.

Includes updates to the catalog, grammer, psql, pg_dump, and regression
tests.  Documentation will be added soon, but until then, would be great
to get feedback on the grammer, catalog and code changes.



Attachment: restrict_rls_v1.patch
Description: text/x-diff (41.5 KB)


pgsql-hackers by date

Next:From: Michael PaquierDate: 2016-09-01 06:51:11
Subject: Re: Proposal for changes to recovery.conf API
Previous:From: Erik RijkersDate: 2016-09-01 06:29:09
Subject: Re: Logical Replication WIP

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group