Re: [BUGS] BUG #14682: row level security not work with partitioned table

Поиск
Список
Период
Сортировка
От Mike Palmiotto
Тема Re: [BUGS] BUG #14682: row level security not work with partitioned table
Дата
Msg-id CAMN686FxTNMh1aWyQggjpCwBOewT9c58XcrHYQRPV8fnRYjGHQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14682: row level security not work with partitionedtable  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Список 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 по дате отправления:

Предыдущее
От: buschmann@nidsa.net
Дата:
Сообщение: [BUGS] BUG #14684: pg_dump omits columns in inherited tables / psql -d showsdeleted columns
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14683: *** glibc detected *** SELECT: double free or corruption