]> granicus.if.org Git - postgresql/commit
Policy documentation improvements
authorStephen Frost <sfrost@snowman.net>
Fri, 30 Jan 2015 21:09:41 +0000 (16:09 -0500)
committerStephen Frost <sfrost@snowman.net>
Fri, 30 Jan 2015 21:09:41 +0000 (16:09 -0500)
commit3144e1b3c6cf59f068f704061ba967ce707531d3
tree5571f627252671494c0d25087dc1c72e73410b23
parent451d2808151e56c2c70893b8c3ee72af393a9f1d
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.
doc/src/sgml/ref/alter_policy.sgml
doc/src/sgml/ref/create_policy.sgml