Re: DRI in Docs? - Mailing list pgsql-general

From Alexander Staubo
Subject Re: DRI in Docs?
Date
Msg-id 88daf38c0704282102r22af463x7ac84e5c1bf93ac2@mail.gmail.com
Whole thread Raw
In response to DRI in Docs?  (Rich Shepard <rshepard@appl-ecosys.com>)
Responses Re: DRI in Docs?  (Rich Shepard <rshepard@appl-ecosys.com>)
List pgsql-general
On 4/29/07, Rich Shepard <rshepard@appl-ecosys.com> wrote:
>    I cannot find a discussion of the meaning and use of Declarative
> Referential Integrity (DRI) in the on-line docs ToC or Index. Please tell me
> in which chapter/section this is covered.

The closest counterpart to MS SQL Server's DRI is the "references" permission:

  http://www.postgresql.org/docs/8.2/interactive/sql-grant.html

Note, however, that PostgreSQL doesn't have column-level permissions,
so this is by table only:

> Currently, PostgreSQL does not support granting or revoking privileges for
> individual columns of a table. One possible workaround is to create a view
> having just the desired columns and then grant privileges to that view.

Alexander.

pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: DRI in Docs?
Next
From: Tom Lane
Date:
Subject: Re: CONSTRAINT name With Domain As Check