Re: more RLS oversights - Mailing list pgsql-hackers

From Joe Conway
Subject Re: more RLS oversights
Date
Msg-id 55B904BD.5040404@crunchydata.com
Whole thread Raw
In response to Re: more RLS oversights  (Joe Conway <joe.conway@crunchydata.com>)
List pgsql-hackers
On 07/29/2015 08:46 AM, Joe Conway wrote:
> On 07/29/2015 01:01 AM, Dean Rasheed wrote:
>> The CreatePolicy() and AlterPolicy() changes look OK to me, but the
>> RemovePolicyById() change looks to be unnecessary ---
>> RemovePolicyById() is called only from doDeletion(), which in turned
>> is called only from deleteOneObject(), which already invokes the drop
>> hooks. So ISTM that RemovePolicyById() doesn't need to do anything,
>> right?
> 
> Seems correct. Will remove that change and commit it that way.

Pushed to HEAD and 9.5.

Joe





pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: dblink: add polymorphic functions.
Next
From: Robert Haas
Date:
Subject: Re: Reduce ProcArrayLock contention