Re: Possible typo in create_policy.sgml - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Possible typo in create_policy.sgml
Date
Msg-id CA+TgmobfKw_KDdV3R206RT5fdrUxsapyCa8zeg5n43_=beAQWg@mail.gmail.com
Whole thread Raw
In response to Re: Possible typo in create_policy.sgml  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Possible typo in create_policy.sgml
List pgsql-hackers
On Thu, Jan 29, 2015 at 9:04 PM, Stephen Frost <sfrost@snowman.net> wrote:
> A policy grants the ability to SELECT, INSERT, UPDATE, or DELETE rows
> which match the relevant policy expression. Existing table rows are
> checked against the expression specified via USING, while new rows
> that would be created via INSERT or UPDATE are checked against the
> expression specified via WITH CHECK.  When a USING expression returns
> false for a given row, that row is not visible to the user.  When a WITH
> CHECK expression returns false for a row which is to be added, an error
> occurs.

Yeah, that's not bad.  I think it's an improvement, in fact.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pg_check_dir comments and implementation mismatch
Next
From: Robert Haas
Date:
Subject: Re: jsonb, unicode escapes and escaped backslashes