From: Andres Freund <andres@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Row-Level Security Policies (RLS)
Date: Sun, 21 Sep 2014 19:06:22 +0200
Message-ID: <20140921170622.GA13527@awork2.anarazel.de> (raw)
In-Reply-To: <20140921164154.GW4701@eldon.alvh.no-ip.org>
References: <E1XV0JP-0003h6-O6@gemulon.postgresql.org>
<541EDAF6.7000701@gmx.net>
<20140921140648.GN16422@tamriel.snowman.net>
<20140921164154.GW4701@eldon.alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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
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-committers@postgresql.org
Cc: andres@2ndquadrant.com, alvherre@2ndquadrant.com, sfrost@snowman.net, peter_e@gmx.net
Subject: Re: pgsql: Row-Level Security Policies (RLS)
In-Reply-To: <20140921170622.GA13527@awork2.anarazel.de>
References: <E1XV0JP-0003h6-O6@gemulon.postgresql.org> <541EDAF6.7000701@gmx.net> <20140921140648.GN16422@tamriel.snowman.net> <20140921164154.GW4701@eldon.alvh.no-ip.org> <20140921170622.GA13527@awork2.anarazel.de>
* 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