Re: more RLS oversights - Mailing list pgsql-hackers

From Joe Conway
Subject Re: more RLS oversights
Date
Msg-id 55B93E31.6060300@crunchydata.com
Whole thread Raw
In response to Re: more RLS oversights  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: more RLS oversights  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 07/29/2015 01:26 PM, Robert Haas wrote:
> On Wed, Jul 29, 2015 at 3:58 PM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
>> I think this reads a bit funny.  What's a "POLICY USING" clause?  I
>> expect that translators will treat the two words POLICY USING as a
>> single token, and the result is not going to make any sense.
>>
>> Maybe "in a policy's USING and WITH CHECK expressions", or perhaps "in
>> policies's USING and WITH CHECK exprs", not sure.
> 
> Yeah, I don't see why we would capitalize POLICY there.

The equivalent message for functions is: ".. are not allowed in functions in FROM"

So how does this sound:
"... are not allowed in policies in USING and WITH CHECK expressions"
or perhaps more simply:
"... are not allowed in policies in USING and WITH CHECK"

Joe




pgsql-hackers by date:

Previous
From: Andreas Karlsson
Date:
Subject: Re: Improving test coverage of extensions with pg_dump
Next
From: Tom Lane
Date:
Subject: Re: dblink: add polymorphic functions.