Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1Mi0-0002u5-T8 for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2013 20:27:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V1Mi0-0002yy-BL for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Jul 2013 20:27:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1Mhy-0002wy-4f for pgsql-hackers@postgresql.org; Mon, 22 Jul 2013 20:27:50 +0000 Received: from moutng.kundenserver.de ([212.227.126.171]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V1Mhv-0002qm-RA for pgsql-hackers@postgresql.org; Mon, 22 Jul 2013 20:27:49 +0000 Received: from [192.168.1.110] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MEWCH-1UuW041253-00GQFR; Mon, 22 Jul 2013 22:27:42 +0200 Message-ID: <51ED95BC.6070400@2ndQuadrant.com> Date: Mon, 22 Jul 2013 16:27:40 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Kohei KaiGai CC: Dean Rasheed , Stephen Frost , Karol Trzcionka , Mike Blackwell , PgHacker Subject: Re: [v9.4] row level security References: <51E880CF.3000902@gmail.com> <51E8A8C1.2050700@2ndQuadrant.com> <20130719030347.GV15510@tamriel.snowman.net> <51E8ADD9.5020600@2ndQuadrant.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:+6oYmuTYoWzYdXpIsKO4BvLOANNyEkCC/zvSECpgMTZ pLDZ9r2p8z+LDIcadxBn7qohzNwGQGcwgPKl6STOK55OaxG9ef Pw1uPKKy46FrRJ9iOXHGJZv2R2pXAD/GMxG0PXeWAUEJTjj8qT hQvMmN6H+6ya09mGrWufNEOegKTfOBLB69wuJL2kBAFPy9icEP dK3rILQ0iBhau83BpRo13dBVOuXzFFwILhaVNpdmkvuheH7EAg DeWsunAT1COdJs8qSgsgM/rzJs6N7BfegMerCPYoIH1/IOqPBX DRsP4ILraPASkJOn4CIwwmFHD8ET2o38/dn2ZIYbhXRO0e3fd2 dovZqboz0R2X9qz6uYYo= X-Pg-Spam-Score: -1.9 (-) 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 7/20/13 10:08 AM, Kohei KaiGai wrote: >> With that change to expand_targetlist(), the change to getrelid() may >> be unnecessary, and then also the new rowsec_relid field in >> RangeTblEntry may not be needed. >> > Hmm. I didn't have this idea. It seems to me fair enough and kills > necessity to enhance RangeTblEntry and getrelid() indeed. > I try to fix up this implementation according to your suggestion. Great, there's one useful bit of feedback for you then, and that seems to address Tom's getrelid concern too. For the active CommitFest, I don't see any place we can go with this right now except for "Returned with Feedback". We really need more reviewers willing to put a significant amount of time into going through this code. Anyone who would like to see RLS committed should consider how you can get resources to support a skilled PostgreSQL reviewer spending time on it. (This is a bit much to expect new reviewers to chew on usefully) I've been working on that here, but I don't have anything I can publicly commit to yet. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers