Re: Cross-references between DOMAIN and POLICY - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Cross-references between DOMAIN and POLICY
Date
Msg-id 64a81a19-0ed0-d1c7-8ea2-27ff04bdd0a5@2ndquadrant.com
Whole thread Raw
In response to [DOCS] Cross-references between DOMAIN and POLICY  (postgresql@eric.brechemier.name)
List pgsql-docs
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


pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: end of the line for Jade and DSSSL
Next
From: Peter Eisentraut
Date:
Subject: Re: CREATE DOMAIN should also include an example of use withfunctions