pgsql: Improve CREATE POLICY documentation

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve CREATE POLICY documentation
Date: 2015-01-29 03:16:37
Message-ID: E1YGfav-00052B-5N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve CREATE POLICY documentation

The CREATE POLICY documention didn't sufficiently clarify what happens
when a given command type (eg: ALL or UPDATE) accepts both USING and
WITH CHECK clauses, but only the USING clause is defined. Add language
to clarify that, in such a case, the USING clause will be used for both
USING and WITH CHECK cases.

Pointed out by Peter Geoghegan.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/42f66b27566798d9969791ec6d2acd399c41b60f

Modified Files
--------------
doc/src/sgml/ref/create_policy.sgml | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2015-01-29 03:59:10 pgsql: CREATE POLICY expression -> using_expression
Previous Message Stephen Frost 2015-01-29 02:47:23 pgsql: Add usebypassrls to pg_user and pg_shadow