Re: COPY command with RLS bug - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: COPY command with RLS bug
Date
Msg-id CAB7nPqRoPg9RM8jV5ASGZpsRG6d9D_kToVYJYNc36ND-fhjH1g@mail.gmail.com
Whole thread Raw
In response to Re: COPY command with RLS bug  (Adam Brightwell <adam.brightwell@crunchydata.com>)
Responses Re: COPY command with RLS bug  (Adam Brightwell <adam.brightwell@crunchydata.com>)
List pgsql-hackers
On Sat, Sep 10, 2016 at 3:55 AM, Adam Brightwell
<adam.brightwell@crunchydata.com> wrote:
>> Perhaps we should extend rowsecurity test with a more comprehensive
>> set of tests rather than just fix the COPY one?
>
> I think more tests that provide value are always a *good* thing,
> however, would argue that other tests 'unrelated' to this fix are more
> of a TODO item than something to include with this fix. Though, I am
> certainly willing to attempt to find/add more test cases around this
> specific functionality if that is desired.

Looking for and improving test coverage for RLS is a good suggestion,
but let's not link the fate of the issue reported here with this
requirement. I have spent some time looking at this patch and this
looks in rather good shape to me (you even remembered to use the
prefix regress_* for the role name that you are adding!). So I have
marked this bug fix as ready for committer.
-- 
Michael



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Fix for PL/Python slow input arrays traversal issue
Next
From: Michael Paquier
Date:
Subject: Re: Useless dependency assumption libxml2 -> libxslt in MSVC scripts