Re: Row-security on updatable s.b. views - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Row-security on updatable s.b. views
Date
Msg-id 52FA04D1.70207@2ndquadrant.com
Whole thread Raw
In response to Re: Row-security on updatable s.b. views  (Yeb Havinga <yebhavinga@gmail.com>)
Responses Re: Row-security on updatable s.b. views
List pgsql-hackers
On 02/11/2014 06:05 PM, Yeb Havinga wrote:
> On 2014-02-11 09:36, Craig Ringer wrote:
>> On 02/06/2014 10:19 PM, Craig Ringer wrote:
>>> On 02/06/2014 12:43 PM, Craig Ringer wrote:
>>>> 1. Try (again) to do row-security in the rewriter. This was previously
>>>> impossible because of the definition of row-security behaviour around
>>>> inheritance, but with the simplified inheritance model now proposed I
>>>> think it's possible.
>>> Thanks to the simplified requirements for inheritance, this turns out to
>>> be fairly easy. There's a version rewritten to use the rewriter in
>>> the tag:
>>>
>>>     rls-9.4-upd-sb-views-v6
>>>
>>> on https://github.com/ringerc/postgres.git
>> ... which was totally wrong, and I blame lack of sleep for it ever
>> getting pushed. I didn't understand the rewriter as well as I thought.
>>
>> v7 applies row-security quals in fireRIRrules .
> 
>> New tag:
>>
>> rls-9.4-upd-sb-views-v6
> 
> Hi Craig,
> 
> This looks to be the same v6 version as the initial rewriter version.
> https://github.com/ringerc/postgres/commits/rls-9.4-upd-sb-views-v6

Whoops, wrong paste.

rls-9.4-upd-sb-views-v7

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Yeb Havinga
Date:
Subject: Re: Row-security on updatable s.b. views
Next
From: Yeb Havinga
Date:
Subject: Re: Row-security on updatable s.b. views