Re: Row-security on updatable s.b. views

From: Yeb Havinga <yebhavinga(at)gmail(dot)com>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Row-security on updatable s.b. views
Date: 2014-02-11 10:05:50
Message-ID: 52F9F5FE.9050909@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

regards,
Yeb

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2014-02-11 11:09:05 Re: Row-security on updatable s.b. views
Previous Message Hannu Krosing 2014-02-11 09:35:51 Re: jsonb and nested hstore