Обсуждение: pgsql: Policy documentation improvements

Поиск
Список
Период
Сортировка

pgsql: Policy documentation improvements

От
Stephen Frost
Дата:
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(-)