pgsql: Policy documentation improvements - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: Policy documentation improvements
Date
Msg-id E1YHIpr-0004Rf-Jo@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Policy documentation improvements

In ALTER POLICY, use 'check_expression' instead of 'expression' for the
parameter, to match up with the recent CREATE POLICY change.

In CREATE POLICY, frame the discussion as granting access to rows
instead of limiting access to rows.  Further, clarify that the
expression must return true for rows to be visible/allowed and that a
false or NULL result will mean the row is not visible/allowed.

Per discussion with Dean Rasheed and Robert.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3144e1b3c6cf59f068f704061ba967ce707531d3

Modified Files
--------------
doc/src/sgml/ref/alter_policy.sgml  |    4 ++--
doc/src/sgml/ref/create_policy.sgml |   36 ++++++++++++++++++++++-------------
2 files changed, 25 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix jsonb Unicode escape processing, and in consequence disallow
Next
From: Tom Lane
Date:
Subject: pgsql: Update time zone data files to tzdata release 2015a.