pgsql: Policy documentation improvements

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Policy documentation improvements
Date: 2015-01-30 21:10:39
Message-ID: E1YHIpr-0004Rf-Jo@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-01-31 03:46:49 pgsql: Update time zone data files to tzdata release 2015a.
Previous Message Tom Lane 2015-01-30 19:45:10 pgsql: Fix jsonb Unicode escape processing, and in consequence disallow