Re: Cross-references between DOMAIN and POLICY

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: postgresql(at)eric(dot)brechemier(dot)name, pgsql-docs(at)postgresql(dot)org
Subject: Re: Cross-references between DOMAIN and POLICY
Date: 2017-04-05 04:21:39
Message-ID: 64a81a19-0ed0-d1c7-8ea2-27ff04bdd0a5@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2/2/17 15:54, postgresql(at)eric(dot)brechemier(dot)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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2017-04-05 04:23:25 Re: CREATE DOMAIN should also include an example of use with functions
Previous Message Tom Lane 2017-04-05 04:16:52 Re: end of the line for Jade and DSSSL