Re: more RLS oversights - Mailing list pgsql-hackers

From Joe Conway
Subject Re: more RLS oversights
Date
Msg-id 55B8F539.8020500@crunchydata.com
Whole thread Raw
In response to Re: more RLS oversights  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Responses Re: more RLS oversights  (Joe Conway <joe.conway@crunchydata.com>)
List pgsql-hackers
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.

Joe




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: upgrade failure from 9.5 to head
Next
From: Alvaro Herrera
Date:
Subject: Re: upgrade failure from 9.5 to head