Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W5491-0004IL-5r for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Jan 2014 01:59:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W5490-0003IK-BU for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Jan 2014 01:59:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W548y-0003IB-Ml for pgsql-hackers@postgresql.org; Mon, 20 Jan 2014 01:59:16 +0000 Received: from outmail149101.authsmtp.com ([62.13.149.101]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W548v-0001yI-M2 for pgsql-hackers@postgresql.org; Mon, 20 Jan 2014 01:59:16 +0000 Received: from mail-c235.authsmtp.com (mail-c235.authsmtp.com [62.13.128.235]) by punt15.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s0K1x7um086014; Mon, 20 Jan 2014 01:59:07 GMT Received: from ayaki.localdomain (124-169-116-120.dyn.iinet.net.au [124.169.116.120]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id s0K1wxmf010531 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 20 Jan 2014 01:59:02 GMT Message-ID: <52DC82E2.5010801@2ndquadrant.com> Date: Mon, 20 Jan 2014 09:58:58 +0800 From: Craig Ringer Organization: 2nd Quadrant User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Gregory Smith , Greg Stark CC: Robert Haas , Tom Lane , Stephen Frost , Josh Berkus , Kohei KaiGai , "ktm@rice.edu" , Alexander Korotkov , PostgreSQL-development , jeff.mccormick@crunchydatasolutions.com Subject: Re: [v9.4] row level security References: <5220D832.7090104@agliodbs.com> <20130830192729.GO2706@tamriel.snowman.net> <16798.1377891794@sss.pgh.pa.us> <1398.1378305956@sss.pgh.pa.us> <1543.1378306249@sss.pgh.pa.us> <2620.1378308159@sss.pgh.pa.us> <52775604.9090306@2ndquadrant.com> <11101.1383575839@sss.pgh.pa.us> <52784DF9.9040205@2ndquadrant.com> <5279E3CA.7050400@2ndquadrant.com> <527C478D.4070901@2ndquadrant.com> <52ABCF6C.4010409@gmail.com> <52ABE150.6050201@2ndquadrant.com> <52D98436.2030508@gmail.com> In-Reply-To: <52D98436.2030508@gmail.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Server-Quench: 71ca28c7-8176-11e3-b802-002590a15da7 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZeVg0b BQteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadwMSJgdEAnNQ XXkJW1VQQF1wU2Z8 YQpXIwRfZlRPWQx0 UUlPXFNQFBpqBB4E GR9QERkJdkIOJShw ZEZnXXEVWEB8fU4z RU8HRG8ONmB9YGEY Vl1ZdlZXbVFCfh1Y alB9UXoNMGQCMitn CTU+bXgCHRx0Cwlv eTRFHkxDBxo+ViQ7 WFgGECsiGQUeSi4u NR06Ozb9 X-Authentic-SMTP: 61633235383639.1023:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 124.169.116.120/2525 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 01/18/2014 03:27 AM, Gregory Smith wrote: > With my advocacy hat on, I'd like to revisit this idea now that there's > a viable updatable security barrier view submission. I thought the most > serious showstopper feedback from the last CF's RLS submission was that > this needed to be sorted out first. Reworking KaiGai's submission to > merge against Dean's new one makes it viable again in my mind, and I'd > like to continue toward re-reviewing it as part of this CF in that > light. I had hoped to have this done weeks ago, but was blocked on getting a viable approach to updatable security barrier views in place. I really appreciate Dean, with his greater experience and skill in this area, looking into it. As it is I'm spending today reworking the RLS patch on top of the new approach to updatable security barrier views. Then it'll be a matter of tests, lots and lots of tests of every weird corner I can think of. > Admittedly it's not ideal to try and do that at the same time > the barrier view patch is being modified, but I see that as a normal CF > merge of things based on other people's submissions. I tend to agree - and the whole idea of reworking RLS on top of updatable security barrier views is that it makes the patch for RLS's UI and catalogs largely independent from the mechanics of filtering rows. > I mentioned advocacy because the budding new PostgreSQL test instances > I'm seeing now will lose a lot of momentum if we end up with no user > visible RLS features in 9.4. The pieces we have now can assemble into > something that's useful, and I don't think that goal is unreasonably far > away. If it's possible, getting _something_ into 9.4 would be great. I'm aware of multiple interested users who originally expected this in 9.3. That hasn't worked out, but it'd be great to make 9.4. -- Craig Ringer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers