Re: pgsql: Row-Level Security Policies (RLS)

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Row-Level Security Policies (RLS)
Date: 2014-09-21 16:41:55
Message-ID: 20140921164154.GW4701@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Stephen Frost wrote:
> * Peter Eisentraut (peter_e(at)gmx(dot)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.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2014-09-21 17:06:22 Re: pgsql: Row-Level Security Policies (RLS)
Previous Message Stephen Frost 2014-09-21 14:06:48 Re: pgsql: Row-Level Security Policies (RLS)

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2014-09-21 17:06:02 Re: proposal: window function - change_number
Previous Message Rémi Cura 2014-09-21 16:08:02 Re: proposal: window function - change_number