Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-21 Thread Peter Eisentraut
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. -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your

Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-21 Thread Stephen Frost
* Peter Eisentraut (pete...@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

Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-21 Thread Alvaro Herrera
Stephen Frost wrote: * Peter Eisentraut (pete...@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

Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-21 Thread Andres Freund
On 2014-09-21 13:41:55 -0300, Alvaro Herrera wrote: Stephen Frost wrote: * Peter Eisentraut (pete...@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

Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-21 Thread Stephen Frost
Andres, On Sunday, September 21, 2014, Andres Freund and...@2ndquadrant.com wrote: IIRC cplupluscheck catches such problem. Annoyingly it doesn't work properly in vpath builds... Doh- that is annoying as that's almost exclusively what I use.. Master causes these warnings for me btw:

Re: [COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-20 Thread Dimitri Fontaine
Stephen Frost sfr...@snowman.net writes: Row-Level Security Policies (RLS) In http://www.postgresql.org/docs/devel/static/sql-createpolicy.html in Per-Command policies DELETE is mentionned twice, once for UPDATE and once for DELETE. Also, I guess it would be useful to provide for some examples

[COMMITTERS] pgsql: Row-Level Security Policies (RLS)

2014-09-19 Thread Stephen Frost
Row-Level Security Policies (RLS) Building on the updatable security-barrier views work, add the ability to define policies on tables to limit the set of rows which are returned from a query and which are allowed to be added to a table. Expressions defined by the policy for filtering are added