Re: Privileges description not reflecting 7.2 enhancements

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Bruno Wolff III <bruno(at)cerberus(dot)csd(dot)uwm(dot)edu>
Cc: PostgreSQL-documentation <pgsql-docs(at)postgresql(dot)org>
Subject: Re: Privileges description not reflecting 7.2 enhancements
Date: 2001-11-26 21:01:52
Message-ID: 200111262101.fAQL1qQ19567@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> On Mon, Nov 26, 2001 at 03:11:03PM -0500,
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> 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: <literal>SELECT</literal>
(read), <literal>INSERT</literal> (append), <literal>UPDATE</literal>
(write), <literal>DELETE</literal>, <literal>RULE</literal>,
<literal>REFERENCES</literal> (foreign key), and
<literal>TRIGGER</literal>. (See the <command>GRANT</command> manual
page for more detailed information.) The right to modify or destroy

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-docs by date

  From Date Subject
Next Message Josh Berkus 2001-11-27 01:23:13 Re: PL/pgSQL examples NOT involving functions
Previous Message Bruce Momjian 2001-11-26 20:11:03 Re: Privileges description not reflecting 7.2 enhancements