Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XVkao-0001N5-PO for pgsql-committers@arkaria.postgresql.org; Sun, 21 Sep 2014 17:06:34 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XVkan-0005kA-OX for pgsql-committers@arkaria.postgresql.org; Sun, 21 Sep 2014 17:06:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XVkam-0005k3-RU for pgsql-committers@postgresql.org; Sun, 21 Sep 2014 17:06:32 +0000 Received: from mout.kundenserver.de ([212.227.17.24]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XVkag-0003cr-2A for pgsql-committers@postgresql.org; Sun, 21 Sep 2014 17:06:29 +0000 Received: from anarazel.de (p5DDC4D94.dip0.t-ipconnect.de [93.220.77.148]) by mrelayeu.kundenserver.de (node=mreue102) with ESMTP (Nemesis) id 0LuMJr-1YTeuW3qsR-011l3j; Sun, 21 Sep 2014 19:06:24 +0200 Received: by anarazel.de (Postfix, from userid 1000) id F31BA101582; Sun, 21 Sep 2014 19:06:22 +0200 (CEST) Date: Sun, 21 Sep 2014 19:06:22 +0200 From: Andres Freund To: Alvaro Herrera Cc: Stephen Frost , Peter Eisentraut , pgsql-committers@postgresql.org Subject: Re: pgsql: Row-Level Security Policies (RLS) Message-ID: <20140921170622.GA13527@awork2.anarazel.de> References: <541EDAF6.7000701@gmx.net> <20140921140648.GN16422@tamriel.snowman.net> <20140921164154.GW4701@eldon.alvh.no-ip.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140921164154.GW4701@eldon.alvh.no-ip.org> X-Provags-ID: V02:K0:jEyurerRKHg6IvLsTJTHFIuXeZFvRFiO8TGNWNCuD3z hJQIQm9KDGurTRdF8+JJC2swRI53lE7tO334WmOoR/eF94/+vc 21UkjR+uX8l5eKCvXXXz8yuwbCpO5UBIPiXhhWFKf9T07KO5sl FvXEPiarn5F6RhOs2zHwIEgwVKOqXa8zUXFLTmvHs3dttP1cmX /wabNjfyRfTxfxja6m+mcEJOexujdZL4oTLJU0V8sMesoDZoe7 q/4ofgUkdMInejGX9kAvPN2EF8e63HuK3Q5o02eK6s4iEMpLgY KNcPsdJJTXCC1dm7G0Qdo5J2apHTOgpWSF5pHheBZUtPAnv9Wy 6GW5RUYrxsUwdfbnBFswl/r+fncqpyHGU+kghVzYX X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 2014-09-21 13:41:55 -0300, Alvaro Herrera wrote: > Stephen Frost wrote: > > * Peter Eisentraut (peter_e@gmx.net) wrote: > > > On 9/19/14 11:41 AM, Stephen Frost wrote: > > > > Row-Level Security Policies (RLS) > > > > > > src/include/commands/policy.h needs to include a file that defines > > > Relation, so that it can stand on its own. > > > > Hum. I wonder if that's because I got a bit over-aggressive at removing > > #includes while reviewing the patch. In any case, will fix. > > This kind of problem is easy to miss. We need some way to have includes > checked and failures reported by buildfarm, or perhaps directly during > compilation. I have a make rule for that somewhere, gcc-dependent > AFAIK, but it's ugly and leaves .gch files behind. IIRC cplupluscheck catches such problem. Annoyingly it doesn't work properly in vpath builds... Master causes these warnings for me btw: /home/andres/src/postgresql/src/backend/commands/policy.c:48:19: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] static const char parse_row_security_command(const char *cmd_name); ^ /home/andres/src/postgresql/src/backend/commands/policy.c:106:1: warning: type qualifiers ignored on function return type [-Wignored-qualifiers] parse_row_security_command(const char *cmd_name) ^ Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers