[HACKERS] Re: [BUGS] BUG #14682: row level security not work with partitionedtable

Поиск
Список
Период
Сортировка
От Joe Conway
Тема [HACKERS] Re: [BUGS] BUG #14682: row level security not work with partitionedtable
Дата
Msg-id 665f3a45-46e0-e49e-b4c0-5159785b638a@joeconway.com
обсуждение исходный текст
Ответ на Re: [HACKERS] BUG #14682: row level security not work with partitioned table  (Noah Misch <noah@leadboat.com>)
Ответы Re: [HACKERS] [BUGS] BUG #14682: row level security not work with partitioned table  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 06/04/2017 03:33 PM, Noah Misch wrote:
> On Fri, Jun 02, 2017 at 09:28:16AM +0900, Michael Paquier wrote:
>> 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.
>
> [Action required within three days.  This is a generic notification.]
>
> The above-described topic is currently a PostgreSQL 10 open item.  Robert,
> since you committed the patch believed to have created it, you own this open
> item.

Unless Robert objects, I'll work with Mike to get a fix posted and
committed in the next day or two.

Joe

--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] PG10 transition tables, wCTEs and multiple operationson the same table
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] Proposal : For Auto-Prewarm.