From: Noah Misch <noah@leadboat.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Mike Palmiotto <mike.palmiotto@crunchydata.com>
Cc: fte@nct.ru, PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Amit Langote <amitlangote09@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: BUG #14682: row level security not work with partitioned table
Date: Sun, 4 Jun 2017 22:33:14 +0000
Message-ID: <20170604223314.GB1547727@rfd.leadboat.com> (raw)
In-Reply-To: <CAB7nPqSUKZoYGo2mMgCw6UF+WAK9VByo-0hc0jZqX=eSHn8xtw@mail.gmail.com>
References: <20170601065959.1486.69906@wrigleys.postgresql.org>
<CAMN686FExvZrfDzmi2+8Zd4bfsLhz+7upX=p8AS_DPhdGKoKxA@mail.gmail.com>
<CAB7nPqSUKZoYGo2mMgCw6UF+WAK9VByo-0hc0jZqX=eSHn8xtw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
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. If some other commit is more relevant or if this does not belong as a
v10 open item, please let us know. Otherwise, please observe the policy on
open item ownership[1] and send a status update within three calendar days of
this message. Include a date for your subsequent status update. Testers may
discover new open items at any time, and I want to plan to get them all fixed
well in advance of shipping v10. Consequently, I will appreciate your efforts
toward speedy resolution. Thanks.
[1] https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noah@leadboat.com, robertmhaas@gmail.com, mike.palmiotto@crunchydata.com, michael.paquier@gmail.com, amitlangote09@gmail.com, pgsql-hackers@postgresql.org
Subject: Re: BUG #14682: row level security not work with partitioned table
In-Reply-To: <20170604223314.GB1547727@rfd.leadboat.com>
References: <20170601065959.1486.69906@wrigleys.postgresql.org> <CAMN686FExvZrfDzmi2+8Zd4bfsLhz+7upX=p8AS_DPhdGKoKxA@mail.gmail.com> <CAB7nPqSUKZoYGo2mMgCw6UF+WAK9VByo-0hc0jZqX=eSHn8xtw@mail.gmail.com> <20170604223314.GB1547727@rfd.leadboat.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox