On 2/2/17 15:54, postgresql@eric.brechemier.name wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.6/static/sql-createpolicy.html
> Description:
>
> Domains and row level policies are similar in the definition of a constraint
> with a CHECK expression.
>
> There should be a mention of domains on the page `CREATE POLICY` and an
> explanation of the differences between domains and policies in the
> discussion of `Row Security Policies`.
>
> There should be a mention of policies on the page `CREATE DOMAIN`.
I don't think they are that similar, other than that the word CHECK
appears in their syntax.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services