Re: RLS restrictive hook policies

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: RLS restrictive hook policies
Date: 2015-08-03 15:09:34
Message-ID: 20150803150934.GT3587@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dean, all,

* Stephen Frost (sfrost(at)snowman(dot)net) wrote:
> Agreed. I'm happy to commit that change and back-patch it to 9.5,
> barring objections. Given that the only way to have restrictive
> policies currently is using hooks, I don't believe there's any
> documentation update required either; of course, I'll update the comment
> to reflect this discussion/decision and make any necessary changes to
> test_rls_hooks.

Patch attached to make this change, with appropriate comment updates and
fixes to the test_rls_hooks modules.

Comments?

Thanks!

Stephen

Attachment Content-Type Size
rls-restrictive-hook.patch text/x-diff 5.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2015-08-03 15:26:40 Re: RLS restrictive hook policies
Previous Message Anastasia Lubennikova 2015-08-03 14:34:39 Re: [PATCH] Microvacuum for gist.