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: 20160901063404.GY4028@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings,

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.

Thanks!

Stephen

Attachment Content-Type Size
restrict_rls_v1.patch text/x-diff 41.5 KB

Responses

Browse pgsql-hackers by date

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