Re: [HACKERS] AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

2015-08-28 Thread Stephen Frost
* Andres Freund (and...@anarazel.de) wrote: > On 2015-08-28 08:49:24 -0400, Stephen Frost wrote: > > > > + /* > > +* get_row_security_policies just added to > > securityQuals and/or > > +* withCheckOptions, and the

Re: [HACKERS] AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

2015-08-28 Thread Stephen Frost
* Andres Freund (and...@anarazel.de) wrote: > On 2015-08-28 08:49:24 -0400, Stephen Frost wrote: > > > > + /* > > +* get_row_security_policies just added to > > securityQuals and/or > > +* withCheckOptions, and the

Re: [HACKERS] AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

2015-08-28 Thread Stephen Frost
* Andres Freund (and...@anarazel.de) wrote: > On 2015-08-28 08:49:24 -0400, Stephen Frost wrote: > > > > + /* > > +* get_row_security_policies just added to > > securityQuals and/or > > +* withCheckOptions, and the

Re: [HACKERS] AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

2015-08-28 Thread Andres Freund
On 2015-08-28 08:49:24 -0400, Stephen Frost wrote: > > + /* > + * get_row_security_policies just added to > securityQuals and/or > + * withCheckOptions, and there were SubLinks, > so make sure > +

Re: [HACKERS] AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

2015-08-28 Thread Stephen Frost
* Dean Rasheed (dean.a.rash...@gmail.com) wrote: > On 27 August 2015 at 13:49, Andres Freund wrote: > > The locking around rowsecurity policy expressions seems to be > > insufficient: > > SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; > > WARNING: RelationIdGetRelation(247984) without

Re: [HACKERS] AcquireRewriteLocks/acquireLocksOnSubLinks vs. rowsecurity

2015-08-27 Thread Dean Rasheed
On 27 August 2015 at 13:49, Andres Freund wrote: > Hi, > > The locking around rowsecurity policy expressions seems to be > insufficient: > SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; > WARNING: RelationIdGetRelation(247984) without holding lock on the relation > WARNING: relation_o