Privileges description not reflecting 7.2 enhancements
Privileges description not reflecting 7.2 enhancements
От:
Bruno Wolff III <bruno@cerberus.csd.uwm.edu>
Дата:
In section 7.3 (http://developer.postgresql.org/docs/postgres/privileges.html) the folowing paragraph doesn't reflect the privileges new to 7.2. Currently, there are four different privileges: select (read), insert (append), and update/delete (write), as well as RULE, the permission to create a rewrite rule on a table. The right to modify or destroy an
Re: Privileges description not reflecting 7.2 enhancements
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> In section 7.3 (http://developer.postgresql.org/docs/postgres/privileges.html)
> the folowing paragraph doesn't reflect the privileges new to 7.2.
>
> Currently, there are four different privileges: select (read), insert
> (append), and update/delete (write), as well as RULE, the permission
> to create a rewrite rule on a table. The right to modify or destroy an
OK, docs updated. Thanks:
Currently, there are five different privileges: select (read),
insert (append), update (write), delete, and
^^^^^^^^^^^^^^
RULE, the permission to create a rewrite rule on
a table. The right to modify or destroy an object is always the
privilege of the owner only. To assign privileges, the
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
Re: Privileges description not reflecting 7.2 enhancements
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> On Mon, Nov 26, 2001 at 03:11:03PM -0500,
> Bruce Momjian wrote:
> > > In section 7.3 (http://developer.postgresql.org/docs/postgres/privileges.html)
> > > the folowing paragraph doesn't reflect the privileges new to 7.2.
> > >
> > > Currently, there are four different privileges: select (read), insert
> > > (append), and update/delete (write), as well as RULE, the permission
> > > to create a rewrite rule on a table. The right to modify or destroy an
> >
> > OK, docs updated. Thanks:
> >
> > Currently, there are five different privileges: select (read),
> > insert (append), update (write), delete, and
> > ^^^^^^^^^^^^^^
>
> You missed REFERENCES and TRIGGER.
>
> >From the GRANT command synopsis:
> GRANT { { SELECT | INSERT | UPDATE | DELETE | RULE | REFERENCES | TRIGGER } [,.
> ..] | ALL [ PRIVILEGES ] }
> ON [ TABLE ] objectname [, ...]
> TO { username | GROUP groupname | PUBLIC } [, ...]
[ CC'ed to docs list.]
OK, got it:
There are several different privileges: SELECT
(read), INSERT (append), UPDATE
(write), DELETE, RULE,
REFERENCES (foreign key), and
TRIGGER. (See the GRANT manual
page for more detailed information.) The right to modify or destroy
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026