Re: [BUGS] BUG #14682: row level security not work with partitioned table - Mailing list pgsql-bugs

From Mike Palmiotto
Subject Re: [BUGS] BUG #14682: row level security not work with partitioned table
Date
Msg-id CAMN686FxTNMh1aWyQggjpCwBOewT9c58XcrHYQRPV8fnRYjGHQ@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] BUG #14682: row level security not work with partitionedtable  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-bugs
On Thu, Jun 1, 2017 at 10:18 PM, Amit Langote
<Langote_Amit_f8@lab.ntt.co.jp> wrote:
> On 2017/06/02 3:13, Mike Palmiotto wrote:
>> This is indeed a bug. fireRIRrules is currently skipping the RLS
>> policy check when relkind == PARTITIONED_TABLES, so RLS policies are
>> not applied. The attached patch fixes the behavior.
>
> Thanks Mike for creating the patch.  Agree with Michael that a test would
> be nice.

I've got some regression tests in the making. I'll post back here once
I've wrapped those up.

Thanks,
-- 
Mike Palmiotto
Software Engineer
Crunchy Data Solutions
https://crunchydata.com


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: buschmann@nidsa.net
Date:
Subject: [BUGS] BUG #14684: pg_dump omits columns in inherited tables / psql -d showsdeleted columns
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14683: *** glibc detected *** SELECT: double free or corruption