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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [BUGS] BUG #14682: row level security not work with partitioned table
Дата
Msg-id CAB7nPqSUKZoYGo2mMgCw6UF+WAK9VByo-0hc0jZqX=eSHn8xtw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14682: row level security not work with partitioned table  (Mike Palmiotto <mike.palmiotto@crunchydata.com>)
Ответы Re: [BUGS] BUG #14682: row level security not work with partitioned table
Список pgsql-bugs
On Thu, Jun 1, 2017 at 11:13 AM, Mike Palmiotto
<mike.palmiotto@crunchydata.com> 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.

I would expect RLS to trigger as well in this context. Note that there
should be regression tests to avoid this failure again in the future.
I have added an open item.
-- 
Michael


-- 
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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [BUGS] Re: BUG #14680: startup process on standby encounter adeadlock of TwoPhaseStateLock when redo 2PC xlog
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [BUGS] BUG #14683: *** glibc detected *** SELECT: double free or corruption