Re: more RLS oversights - Mailing list pgsql-hackers

From Joe Conway
Subject Re: more RLS oversights
Date
Msg-id 55B7AAFA.90906@crunchydata.com
Whole thread Raw
In response to Re: more RLS oversights  (Noah Misch <noah@leadboat.com>)
Responses Re: more RLS oversights
List pgsql-hackers
On 07/03/2015 10:03 AM, Noah Misch wrote:
> (4) When DefineQueryRewrite() is about to convert a table to a view, it checks
> the table for features unavailable to views.  For example, it rejects tables
> having triggers.  It omits to reject tables having relrowsecurity or a
> pg_policy record.  Test case:

Please see the attached patch for this issue. Comments?

Thanks,

Joe


Attachment

pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Re: LWLock deadlock and gdb advice
Next
From: Tom Lane
Date:
Subject: Re: Sharing aggregate states between different aggregate functions